Enum gltf_json::mesh::Semantic []

pub enum Semantic {
    Positions,
    Normals,
    Tangents,
    Colors(u32),
    TexCoords(u32),
    Joints(u32),
    Weights(u32),
}

Vertex attribute semantic name.

Variants

XYZ vertex positions.

XYZ vertex normals.

XYZW vertex tangents where the w component is a sign value indicating the handedness of the tangent basis.

RGB or RGBA vertex color.

UV texture co-ordinates.

Joint indices.

Joint weights.

Trait Implementations

impl Clone for Semantic

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Semantic

Formats the value using the given formatter.

impl Eq for Semantic

impl Hash for Semantic

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Semantic

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl ToString for Semantic

Converts the given value to a String. Read more