Struct gltf_json::mesh::MorphTarget [−][src]
pub struct MorphTarget {
pub positions: Option<Index<Accessor>>,
pub normals: Option<Index<Accessor>>,
pub tangents: Option<Index<Accessor>>,
}
Expand description
A dictionary mapping attributes to their deviations in the Morph Target.
Fields
positions: Option<Index<Accessor>>
XYZ vertex position displacements of type [f32; 3]
.
normals: Option<Index<Accessor>>
XYZ vertex normal displacements of type [f32; 3]
.
tangents: Option<Index<Accessor>>
XYZ vertex tangent displacements of type [f32; 3]
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MorphTarget
impl Send for MorphTarget
impl Sync for MorphTarget
impl Unpin for MorphTarget
impl UnwindSafe for MorphTarget
Blanket Implementations
Mutably borrows from an owned value. Read more