Enum gltf::mesh::Attribute [] [src]

pub enum Attribute {
    Colors(u32Colors),
    Joints(u32Joints),
    Positions(Positions),
    Normals(Normals),
    Tangents(Tangents),
    TexCoords(u32TexCoords),
    Weights(u32Weights),
}

Vertex attribute data.

Variants

Vertex colors.

Vertex joints. Refer to the documentation on morph targets and skins for more information.

XYZ vertex positions of type [f32; 3].

XYZ vertex normals of type [f32; 3].

XYZW vertex tangents of type [f32; 4] where the w component is a sign value (-1 or +1) indicating the handedness of the tangent basis.

UV texture co-ordinates.

Weights. Refer to the documentation on morph targets for more information.

Trait Implementations

impl Debug for Attribute
[src]

Formats the value using the given formatter.