Struct gltf::material::OcclusionTexture
[−]
[src]
pub struct OcclusionTexture<'a> { /* fields omitted */ }
Defines the occlusion texture of a material.
Methods
impl<'a> OcclusionTexture<'a>
[src]
fn strength(&self) -> f32
[src]
Returns the scalar multiplier controlling the amount of occlusion applied.
fn tex_coord(&self) -> u32
[src]
Returns 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.