Enum gltf::mesh::Semantic
[−]
[src]
pub enum Semantic {
Positions,
Normals,
Tangents,
Colors(u32),
TexCoords(u32),
Joints(u32),
Weights(u32),
}Vertex attribute semantic name.
Variants
PositionsXYZ vertex positions.
NormalsXYZ vertex normals.
TangentsXYZW vertex tangents where the w component is a sign value indicating the
handedness of the tangent basis.
Colors(u32)RGB or RGBA vertex color.
TexCoords(u32)UV texture co-ordinates.
Joints(u32)Joint indices.
Weights(u32)Joint weights.
Trait Implementations
impl Hash for Semantic[src]
impl Clone for Semantic[src]
fn clone(&self) -> Semantic[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for Semantic[src]
impl ToString for Semantic[src]
impl PartialEq<Semantic> for Semantic[src]
fn eq(&self, __arg_0: &Semantic) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Semantic) -> bool[src]
This method tests for !=.