Struct gltf_json::mesh::MorphTarget [] [src]

pub struct MorphTarget {
    pub positions: Option<Index<Accessor>>,
    pub normals: Option<Index<Accessor>>,
    pub tangents: Option<Index<Accessor>>,
}

A dictionary mapping attributes to their deviations in the Morph Target.

Fields

XYZ vertex position displacements of type [f32; 3].

XYZ vertex normal displacements of type [f32; 3].

XYZ vertex tangent displacements of type [f32; 3].

Trait Implementations

impl Clone for MorphTarget
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MorphTarget
[src]

[src]

Formats the value using the given formatter.

impl Validate for MorphTarget
[src]

[src]

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

[src]

Validates the data against the glTF 2.0 specification. Read more