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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MorphTarget
[src]

Formats the value using the given formatter. Read more

impl Validate for MorphTarget
[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

impl Send for MorphTarget

impl Sync for MorphTarget