table for character animation.
More...
#include <AnimTable.h>
table for character animation.
§ GetAnimIDByName()
int CAnimTable::GetAnimIDByName |
( |
const char * |
sName | ) |
|
|
static |
- Parameters
-
sName | name of the animation. |
- Returns
- : the index of the animID. If no animation matches the name, 0 is returned
for other long keys, search in the map.
§ GetDefaultAnimIDof()
int CAnimTable::GetDefaultAnimIDof |
( |
int |
nID | ) |
|
|
static |
if the nID does not exists, then a default ID will be used instead.
e.g. if there is no swimming, running is used, if there is no running walking is used. if there is no walking, standing is used. If not found, standing animation is used. for an entire, default hierarchy, please see the function body.
- Parameters
-
- Returns
- : default ID returned.
§ GetInstance()
§ IsWalkAnimation()
bool ParaEngine::CAnimTable::IsWalkAnimation |
( |
int |
nID | ) |
|
|
static |
check if nID can default to any move animation id like walk.
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/ParaXModel/AnimTable.h
- Client/trunk/ParaEngineClient/ParaXModel/AnimTable.cpp