Click or drag to resize

Mesh Properties

The Mesh type exposes the following members.

Properties
 NameDescription
Public propertyBiTangents Gets the vertex bitangent list.
Public propertyBoneCount Gets the number of bones that influence this mesh.
Public propertyBones Gets the bones that influence this mesh.
Public propertyBoundingBox Gets or sets the axis aligned bounding box that contains the extents of the mesh.
Public propertyFaceCount Gets the number of faces contained in the mesh.
Public propertyFaces Gets the mesh's faces. Each face will contain indices to the vertices.
Public propertyHasBones Gets if this mesh has bones.
Public propertyHasFaces Gets if the mesh contains faces. If no special scene flags are set, this should always return true.
Public propertyHasMeshAnimationAttachments Gets if this mesh has mesh animation attachments.
Public propertyHasNormals Gets if the mesh as normals. If it does exist, the count should be the same as the vertex count.
Public propertyHasTangentBasis 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.
Public propertyHasVertices Gets if the mesh has a vertex array. This should always return true provided no special scene flags are set.
Public propertyMaterialIndex Gets or sets the index of the material associated with this mesh.
Public propertyMeshAnimationAttachmentCount Gets the number of mesh animation attachments that influence this mesh.
Public propertyMeshAnimationAttachments Gets the mesh animation attachments that influence this mesh.
Public propertyMorphMethod Gets or sets the morph method used when animation attachments are used.
Public propertyName 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.
Public propertyNormals Gets the vertex normal list.
Public propertyPrimitiveType Gets or sets the primitive type. This may contain more than one type unless if SortByPrimitiveType option is not set.
Public propertyTangents Gets the vertex tangent list.
Public propertyTextureCoordinateChannelCount 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.
Public propertyTextureCoordinateChannels 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.
Public propertyUVComponentCount 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.
Public propertyVertexColorChannelCount 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.
Public propertyVertexColorChannels 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.
Public propertyVertexCount Gets the number of vertices in this mesh. This is the count that all per-vertex lists should be the size of.
Public propertyVertices Gets the vertex position list.
Top
See Also