Mesh Properties |
The Mesh type exposes the following members.
| Name | Description | |
|---|---|---|
| BiTangents | Gets the vertex bitangent list. | |
| BoneCount | Gets the number of bones that influence this mesh. | |
| Bones | Gets the bones that influence this mesh. | |
| BoundingBox | Gets or sets the axis aligned bounding box that contains the extents of the mesh. | |
| FaceCount | Gets the number of faces contained in the mesh. | |
| Faces | Gets the mesh's faces. Each face will contain indices to the vertices. | |
| HasBones | Gets if this mesh has bones. | |
| HasFaces | Gets if the mesh contains faces. If no special scene flags are set, this should always return true. | |
| HasMeshAnimationAttachments | Gets if this mesh has mesh animation attachments. | |
| HasNormals | Gets if the mesh as normals. If it does exist, the count should be the same as the vertex count. | |
| HasTangentBasis | Gets if the mesh has tangents and bitangents. It is not possible for one to be without the other. If it does exist, the count should be the same as the vertex count. | |
| HasVertices | Gets if the mesh has a vertex array. This should always return true provided no special scene flags are set. | |
| MaterialIndex | Gets or sets the index of the material associated with this mesh. | |
| MeshAnimationAttachmentCount | Gets the number of mesh animation attachments that influence this mesh. | |
| MeshAnimationAttachments | Gets the mesh animation attachments that influence this mesh. | |
| MorphMethod | Gets or sets the morph method used when animation attachments are used. | |
| Name | Gets or sets the mesh name. This tends to be used when formats name nodes and meshes independently, vertex animations refer to meshes by their names, or importers split meshes up, each mesh will reference the same (dummy) name. | |
| Normals | Gets the vertex normal list. | |
| PrimitiveType | Gets or sets the primitive type. This may contain more than one type unless if SortByPrimitiveType option is not set. | |
| Tangents | Gets the vertex tangent list. | |
| TextureCoordinateChannelCount | Gets the number of valid texture coordinate channels contained in the mesh (list is not empty/not null). This can be a value between zero and the maximum texture coordinate count. Each individual channel should be the size of VertexCount. | |
| TextureCoordinateChannels | Gets the array that contains each texture coordinate channel, by default all are lists of zero (but can be set to null). Each index in the array corresponds to the texture coordinate channel. The length of the array corresponds to Assimp's maximum UV channel limit. | |
| UVComponentCount | Gets the array that contains the count of UV(W) components for each texture coordinate channel, usually 2 (UV) or 3 (UVW). A component value of zero means the texture coordinate channel does not exist. The channel index (index in the array) corresponds to the texture coordinate channel index. | |
| VertexColorChannelCount | Gets the number of valid vertex color channels contained in the mesh (list is not empty/not null). This can be a value between zero and the maximum vertex color count. Each individual channel should be the size of VertexCount. | |
| VertexColorChannels | Gets the array that contains each vertex color channels, by default all are lists of zero (but can be set to null). Each index in the array corresponds to the texture coordinate channel. The length of the array corresponds to Assimp's maximum vertex color channel limit. | |
| VertexCount | Gets the number of vertices in this mesh. This is the count that all per-vertex lists should be the size of. | |
| Vertices | Gets the vertex position list. |