Struct AiMesh
Represents an aiMesh struct. Note: This structure requires marshaling, due to the arrays of IntPtrs.
Inherited Members
Namespace: SharpAssimp.Unmanaged
Assembly: SharpAssimp.dll
Syntax
public struct AiMesh
Fields
| Edit this page View SourceAABB
Axis aligned bounding box.
Declaration
public BoundingBox AABB
Field Value
Type | Description |
---|---|
BoundingBox |
AnimMeshes
aiAnimMesh**, array of attachment meshes for vertex-based animation. NOT CURRENTLY IN USE.
Declaration
public nint AnimMeshes
Field Value
Type | Description |
---|---|
nint |
BiTangents
aiVector3*, array of bitangents.
Declaration
public nint BiTangents
Field Value
Type | Description |
---|---|
nint |
Bones
aiBone**, array of bones.
Declaration
public nint Bones
Field Value
Type | Description |
---|---|
nint |
Colors
aiVector4*[Max_Value], array of arrays of vertex colors. Max_Value is defined as AI_MAX_NUMBER_OF_COLOR_SETS.
Declaration
public AiMeshColorArray Colors
Field Value
Type | Description |
---|---|
AiMeshColorArray |
Faces
aiFace*, array of faces.
Declaration
public nint Faces
Field Value
Type | Description |
---|---|
nint |
MaterialIndex
Material index referencing the material in the scene.
Declaration
public uint MaterialIndex
Field Value
Type | Description |
---|---|
uint |
MorphMethod
unsigned int, method of morphing when anim meshes are specified.
Declaration
public MeshMorphingMethod MorphMethod
Field Value
Type | Description |
---|---|
MeshMorphingMethod |
Name
Optional name of the mesh.
Declaration
public AiString Name
Field Value
Type | Description |
---|---|
AiString |
Normals
aiVector3*, array of normals.
Declaration
public nint Normals
Field Value
Type | Description |
---|---|
nint |
NumAnimMeshes
Number of attachment meshes. NOT CURRENTLY IN USE.
Declaration
public uint NumAnimMeshes
Field Value
Type | Description |
---|---|
uint |
NumBones
Number of bones in the mesh.
Declaration
public uint NumBones
Field Value
Type | Description |
---|---|
uint |
NumFaces
Number of faces in the mesh.
Declaration
public uint NumFaces
Field Value
Type | Description |
---|---|
uint |
NumUVComponents
unsigned int[Max_Value], array of ints denoting the number of components for each set of texture coordinates - UV (2), UVW (3) for example. Max_Value is defined as AI_MAX_NUMBER_OF_TEXTURECOORDS.
Declaration
public AiMeshUVComponentArray NumUVComponents
Field Value
Type | Description |
---|---|
AiMeshUVComponentArray |
NumVertices
Number of vertices in the mesh, denotes length of -all- per-vertex arrays.
Declaration
public uint NumVertices
Field Value
Type | Description |
---|---|
uint |
PrimitiveTypes
unsigned int, bitwise flag detailing types of primitives contained.
Declaration
public PrimitiveType PrimitiveTypes
Field Value
Type | Description |
---|---|
PrimitiveType |
Tangents
aiVector3*, array of tangents.
Declaration
public nint Tangents
Field Value
Type | Description |
---|---|
nint |
TextureCoords
aiVector3*[Max_Value], array of arrays of texture coordinates. Max_Value is defined as AI_MAX_NUMBER_OF_TEXTURECOORDS.
Declaration
public AiMeshTextureCoordinateArray TextureCoords
Field Value
Type | Description |
---|---|
AiMeshTextureCoordinateArray |
TextureCoordsNames
aiString[Max_Value], pointer to array of texture coordinate names. Max_Value is defined as AI_MAX_NUMBER_OF_TEXTURECOORDS.
Declaration
public nint TextureCoordsNames
Field Value
Type | Description |
---|---|
nint |
Vertices
aiVector3*, array of positions.
Declaration
public nint Vertices
Field Value
Type | Description |
---|---|
nint |