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 as_json(&self) -> &OcclusionTexture
Returns the internal JSON item.
fn strength(&self) -> f32
The scalar multiplier controlling the amount of occlusion applied.
fn tex_coord(&self) -> u32
The set index of the texture's TEXCOORD
attribute.
fn texture(&self) -> Texture<'a>
Returns the referenced Texture
.
fn extras(&self) -> &Extras
Optional application specific data.