Struct gltf::material::NormalTexture [−][src]
pub struct NormalTexture<'a> { /* fields omitted */ }
Defines the normal texture of a material.
Methods
impl<'a> NormalTexture<'a>
[src]
impl<'a> NormalTexture<'a>
pub fn scale(&self) -> f32
[src]
pub fn scale(&self) -> f32
Returns the scalar multiplier applied to each normal vector of the texture.
pub fn tex_coord(&self) -> u32
[src]
pub fn tex_coord(&self) -> u32
The set index of the texture's TEXCOORD
attribute.
pub fn texture(&self) -> Texture<'a>
[src]
pub fn texture(&self) -> Texture<'a>
Returns the referenced texture.
pub fn extras(&self) -> &Extras
[src]
pub fn extras(&self) -> &Extras
Optional application specific data.
Trait Implementations
impl<'a> AsRef<Texture<'a>> for NormalTexture<'a>
[src]
impl<'a> AsRef<Texture<'a>> for NormalTexture<'a>
Auto Trait Implementations
impl<'a> Send for NormalTexture<'a>
impl<'a> Send for NormalTexture<'a>
impl<'a> Sync for NormalTexture<'a>
impl<'a> Sync for NormalTexture<'a>