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

pub enum Attribute<'a> {
    Colors(u32Accessor<'a>),
    Joints(u32Accessor<'a>),
    Positions(Accessor<'a>),
    Normals(Accessor<'a>),
    Tangents(Accessor<'a>),
    TexCoords(u32Accessor<'a>),
    Weights(u32Accessor<'a>),
}

Vertex attribute data.

Variants

Vertex colors.

Vertex joints.

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.

Trait Implementations

impl<'a> Clone for Attribute<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Attribute<'a>
[src]

[src]

Formats the value using the given formatter.