Struct gltf::material::NormalTexture
[−]
[src]
pub struct NormalTexture<'a> { /* fields omitted */ }Defines the normal texture of a material.
Methods
impl<'a> NormalTexture<'a>[src]
pub 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.
pub fn tex_coord(&self) -> u32[src]
The set index of the texture's TEXCOORD attribute.
pub fn texture(&self) -> Texture<'a>[src]
Returns the referenced Texture.
pub fn extras(&self) -> &Extras[src]
Optional application specific data.