Assimp  v3.1.1 (June 2014)
assimp::mesh::aiAnimMesh Struct Reference

NOT CURRENTLY IN USE. More...

Public Attributes

aiVector3DmBitangents
 Replacement for aiMesh.mBitangents. More...
 
aiColor4DmColors [AI_MAX_NUMBER_OF_COLOR_SETS]
 Replacement for aiMesh.mColors. More...
 
aiVector3DmNormals
 Replacement for aiMesh.mNormals. More...
 
uint mNumVertices
 The number of vertices in the aiAnimMesh, and thus the length of all the member arrays. More...
 
aiVector3DmTangents
 Replacement for aiMesh.mTangents. More...
 
aiVector3DmTextureCoords [AI_MAX_NUMBER_OF_TEXTURECOORDS]
 Replacement for aiMesh.mTextureCoords. More...
 
aiVector3DmVertices
 Replacement for aiMesh.mVertices. More...
 

Detailed Description

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.

Member Data Documentation

◆ mBitangents

aiVector3D* assimp::mesh::aiAnimMesh::mBitangents

Replacement for aiMesh.mBitangents.

◆ mColors

aiColor4D* assimp::mesh::aiAnimMesh::mColors[AI_MAX_NUMBER_OF_COLOR_SETS]

Replacement for aiMesh.mColors.

◆ mNormals

aiVector3D* assimp::mesh::aiAnimMesh::mNormals

Replacement for aiMesh.mNormals.

◆ mNumVertices

uint assimp::mesh::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.

◆ mTangents

aiVector3D* assimp::mesh::aiAnimMesh::mTangents

Replacement for aiMesh.mTangents.

◆ mTextureCoords

aiVector3D* assimp::mesh::aiAnimMesh::mTextureCoords[AI_MAX_NUMBER_OF_TEXTURECOORDS]

Replacement for aiMesh.mTextureCoords.

◆ mVertices

aiVector3D* assimp::mesh::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).


The documentation for this struct was generated from the following file: