Struct gltf_json::material::NormalTexture[][src]

pub struct NormalTexture {
    pub index: Index<Texture>,
    pub scale: f32,
    pub tex_coord: u32,
    pub extensions: NormalTexture,
    pub extras: Extras,
}

Defines the normal texture of a material.

Fields

The index of the texture.

The scalar multiplier applied to each normal vector of the texture.

This value is ignored if normalTexture is not specified.

The set index of the texture's TEXCOORD attribute.

Extension specific data.

Optional application specific data.

Trait Implementations

impl Clone for NormalTexture
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NormalTexture
[src]

Formats the value using the given formatter. Read more

impl Validate for NormalTexture
[src]

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification. Read more

Auto Trait Implementations