Enum gltf::json::accessor::Type
[−]
pub enum Type {
Scalar,
Vec2,
Vec3,
Vec4,
Mat2,
Mat3,
Mat4,
}Specifies whether an attribute, vector, or matrix.
Variants
ScalarScalar quantity.
Vec22D vector.
Vec33D vector.
Vec44D vector.
Mat22x2 matrix.
Mat33x3 matrix.
Mat44x4 matrix.
Methods
impl Type[src]
fn multiplicity(&self) -> usize
Returns the equivalent number of scalar quantities this type represents.
Trait Implementations
impl Clone for Type[src]
fn clone(&self) -> Type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more