Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
aiMeshKey Struct Reference

Binds a anim-mesh to a specific point in time. More...

#include <anim.h>

Public Types

typedef unsigned int elem_type
 

Public Member Functions

 aiMeshKey () AI_NO_EXCEPT
 
 aiMeshKey (double time, const unsigned int value)
 Construction from a given time and key value. More...
 
bool operator!= (const aiMeshKey &o) const
 
bool operator< (const aiMeshKey &o) const
 
bool operator== (const aiMeshKey &o) const
 
bool operator> (const aiMeshKey &o) const
 

Public Attributes

double mTime
 The time of this key. More...
 
unsigned int mValue
 Index into the aiMesh::mAnimMeshes array of the mesh corresponding to the aiMeshAnim hosting this key frame. More...
 

Detailed Description

Binds a anim-mesh to a specific point in time.

Member Typedef Documentation

◆ elem_type

typedef unsigned int aiMeshKey::elem_type

Constructor & Destructor Documentation

◆ aiMeshKey() [1/2]

aiMeshKey::aiMeshKey ( )
inline

◆ aiMeshKey() [2/2]

aiMeshKey::aiMeshKey ( double  time,
const unsigned int  value 
)
inline

Construction from a given time and key value.

Member Function Documentation

◆ operator!=()

bool aiMeshKey::operator!= ( const aiMeshKey o) const
inline

◆ operator<()

bool aiMeshKey::operator< ( const aiMeshKey o) const
inline

◆ operator==()

bool aiMeshKey::operator== ( const aiMeshKey o) const
inline

◆ operator>()

bool aiMeshKey::operator> ( const aiMeshKey o) const
inline

Member Data Documentation

◆ mTime

double aiMeshKey::mTime

The time of this key.

◆ mValue

unsigned int aiMeshKey::mValue

Index into the aiMesh::mAnimMeshes array of the mesh corresponding to the aiMeshAnim hosting this key frame.

The referenced anim mesh is evaluated according to the rules defined in the docs for aiAnimMesh.


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