Enum gltf::mesh::Attribute
[−]
[src]
pub enum Attribute { Colors(u32, Colors), Joints(u32, Joints), Positions(Positions), Normals(Normals), Tangents(Tangents), TexCoords(u32, TexCoords), Weights(u32, Weights), }
Vertex attribute data.
Variants
Colors(u32, Colors)
Vertex colors.
Joints(u32, Joints)
Vertex joints. Refer to the documentation on morph targets and skins for more information.
Positions(Positions)
XYZ vertex positions of type [f32; 3]
.
Normals(Normals)
XYZ vertex normals of type [f32; 3]
.
Tangents(Tangents)
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.
TexCoords(u32, TexCoords)
UV texture co-ordinates.
Weights(u32, Weights)
Weights. Refer to the documentation on morph targets for more information.