VertexAttribute
Vertex attribute types that can be defined in a VertexBuffer.
POSITION: Vertex position in local coordinates
TANGENTS: Surface tangent vectors (should be specified as quaternions for normals)
COLOR: Vertex color (RGBA)
UV0: First set of texture coordinates
UV1: Second set of texture coordinates
BONE_INDICES: Indices for skeletal animation
BONE_WEIGHTS: Weights for skeletal animation
CUSTOM0-CUSTOM7: Custom attributes for specialized effects
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.