pub struct NormalTexture {
pub texture: String,
pub scale: f32,
}Expand description
A normal map reference. The texture is recorded, not loaded.
Fields§
§texture: StringTexture location as written, usually a URI.
scale: f32glTF scale, default 1.
Trait Implementations§
Source§impl Clone for NormalTexture
impl Clone for NormalTexture
Source§fn clone(&self) -> NormalTexture
fn clone(&self) -> NormalTexture
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NormalTexture
impl Debug for NormalTexture
Source§impl PartialEq for NormalTexture
impl PartialEq for NormalTexture
impl StructuralPartialEq for NormalTexture
Auto Trait Implementations§
impl Freeze for NormalTexture
impl RefUnwindSafe for NormalTexture
impl Send for NormalTexture
impl Sync for NormalTexture
impl Unpin for NormalTexture
impl UnwindSafe for NormalTexture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more