My Project
Public Member Functions | Public Attributes | List of all members
ParaEngine::AnimIndex Struct Reference

it presents a given in bone animation providers or parax local model bone animation pools More...

#include <AnimInstanceBase.h>

Public Member Functions

 AnimIndex (int nIndex_)
 
 AnimIndex (int nIndex_, byte nProvider_)
 
 AnimIndex (int nIndex_, byte nProvider_, int nStartFrame_, int nEndFrame_, byte loopType_)
 
 AnimIndex (int nIndex_, byte nProvider_, int nStartFrame_, int nEndFrame_, byte loopType_, int nAnimID)
 
bool IsValid () const
 whether index is valid
 
bool operator== (const AnimIndex &right) const
 two index are considered equal if nIndex and Provider are the same. More...
 
bool operator!= (const AnimIndex &right) const
 
bool IsLooping () const
 whether use looping
 
bool IsUndetermined () const
 if animation is undetermined, we should refresh this structure from asset, possibly because the animation is not loaded previously. More...
 
void Reset ()
 set the current frame to the start frame
 
void MakeInvalid ()
 make this instance invalid. More...
 
void AddCycle ()
 add total frames to nFramePlayed. More...
 

Public Attributes

byte Provider
 
byte loopType
 
int nIndex
 
int nAnimID
 
int nCurrentFrame
 
int nStartFrame
 
int nEndFrame
 
int nFramePlayed
 

Detailed Description

it presents a given in bone animation providers or parax local model bone animation pools

Member Function Documentation

§ AddCycle()

void ParaEngine::AnimIndex::AddCycle ( )
inline

add total frames to nFramePlayed.

§ IsUndetermined()

bool ParaEngine::AnimIndex::IsUndetermined ( ) const
inline

if animation is undetermined, we should refresh this structure from asset, possibly because the animation is not loaded previously.

§ MakeInvalid()

void ParaEngine::AnimIndex::MakeInvalid ( )
inline

make this instance invalid.

§ operator==()

bool ParaEngine::AnimIndex::operator== ( const AnimIndex right) const
inline

two index are considered equal if nIndex and Provider are the same.


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