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