Assimp
v3.0 (July 2012)
|
NOT CURRENTLY IN USE. More...
Public Member Functions | |
aiAnimMesh () | |
bool | HasNormals () const |
Check whether the anim mesh overrides the vertex normals of its host mesh. | |
bool | HasPositions () const |
Check whether the anim mesh overrides the vertex positions of its host mesh. | |
bool | HasTangentsAndBitangents () const |
Check whether the anim mesh overrides the vertex tangents and bitangents of its host mesh. | |
bool | HasTextureCoords (unsigned int pIndex) const |
Check whether the anim mesh overrides a particular set of texture coordinates on his host mesh. | |
bool | HasVertexColors (unsigned int pIndex) const |
Check whether the anim mesh overrides a particular set of vertex colors on his host mesh. | |
~aiAnimMesh () |
Public Attributes | |
aiVector3D * | mBitangents |
Replacement for aiMesh::mBitangents. | |
aiColor4D * | mColors [AI_MAX_NUMBER_OF_COLOR_SETS] |
Replacement for aiMesh::mColors. | |
aiVector3D * | mNormals |
Replacement for aiMesh::mNormals. | |
unsigned int | mNumVertices |
The number of vertices in the aiAnimMesh, and thus the length of all the member arrays. | |
aiVector3D * | mTangents |
Replacement for aiMesh::mTangents. | |
aiVector3D * | mTextureCoords [AI_MAX_NUMBER_OF_TEXTURECOORDS] |
Replacement for aiMesh::mTextureCoords. | |
aiVector3D * | mVertices |
Replacement for aiMesh::mVertices. |
NOT CURRENTLY IN USE.
An AnimMesh is an attachment to an aiMesh stores per-vertex animations for a particular frame.
You may think of an aiAnimMesh as a patch
for the host mesh, which replaces only certain vertex data streams at a particular time. Each mesh stores n attached attached meshes (aiMesh::mAnimMeshes). The actual relationship between the time line and anim meshes is established by aiMeshAnim, which references singular mesh attachments by their ID and binds them to a time offset.
|
inline |
|
inline |
|
inline |
Check whether the anim mesh overrides the vertex normals of its host mesh.
|
inline |
Check whether the anim mesh overrides the vertex positions of its host mesh.
|
inline |
Check whether the anim mesh overrides the vertex tangents and bitangents of its host mesh.
As for aiMesh, tangents and bitangents always go together.
|
inline |
Check whether the anim mesh overrides a particular set of texture coordinates on his host mesh.
pIndex | 0<index<AI_MAX_NUMBER_OF_TEXTURECOORDS |
|
inline |
Check whether the anim mesh overrides a particular set of vertex colors on his host mesh.
pIndex | 0<index<AI_MAX_NUMBER_OF_COLOR_SETS |
aiVector3D* aiAnimMesh::mBitangents |
Replacement for aiMesh::mBitangents.
aiColor4D* aiAnimMesh::mColors[AI_MAX_NUMBER_OF_COLOR_SETS] |
Replacement for aiMesh::mColors.
aiVector3D* aiAnimMesh::mNormals |
Replacement for aiMesh::mNormals.
unsigned int aiAnimMesh::mNumVertices |
The number of vertices in the aiAnimMesh, and thus the length of all the member arrays.
This has always the same value as the mNumVertices property in the corresponding aiMesh. It is duplicated here merely to make the length of the member arrays accessible even if the aiMesh is not known, e.g. from language bindings.
aiVector3D* aiAnimMesh::mTangents |
Replacement for aiMesh::mTangents.
aiVector3D* aiAnimMesh::mTextureCoords[AI_MAX_NUMBER_OF_TEXTURECOORDS] |
Replacement for aiMesh::mTextureCoords.
aiVector3D* aiAnimMesh::mVertices |
Replacement for aiMesh::mVertices.
If this array is non-NULL, it must contain mNumVertices entries. The corresponding array in the host mesh must be non-NULL as well - animation meshes may neither add or nor remove vertex components (if a replacement array is NULL and the corresponding source array is not, the source data is taken instead)