Possible attribute types that describe a vertex in a Mesh.
Mesh vertex data comprised of different Vertex Attributes. For example, a vertex can include a Position, Normal, TexCoord0 and Color.
Not all Meshes have all possible VertexAttributes. You can use this enum to query which VertexAttributes a Mesh uses.
Additional resources: Mesh.HasVertexAttribute, Mesh.GetVertexAttributes, VertexAttributeDescriptor.
Position | 頂点位置 |
Normal | 頂点法線 |
Tangent | Vertex tangent. |
Color | 頂点カラー |
TexCoord0 | Primary texture coordinate (UV). |
TexCoord1 | Additional texture coordinate. |
TexCoord2 | Additional texture coordinate. |
TexCoord3 | Additional texture coordinate. |
TexCoord4 | Additional texture coordinate. |
TexCoord5 | Additional texture coordinate. |
TexCoord6 | Additional texture coordinate. |
TexCoord7 | Additional texture coordinate. |
BlendWeight | Bone blend weights for skinned Meshes. |
BlendIndices | Bone indices for skinned Meshes. |