|
static proto AnimationEventID | RegisterAnimationEvent (string animationEventString) |
| return -1 if operation was unsuccessful
|
|
static proto AnimationTagID | RegisterAnimationTag (string animationTagString) |
| Find or add AnimationTagID from provided string @Note: you should always cache and reuse returned id in order to reduce overhead return -1 if operation was unsuccessful.
|
|
static proto string | GetEventString (AnimationEventID eventID) |
|
static proto string | GetTagString (AnimationTagID tagID) |
|
static proto void | AnimateColliders (IEntity entity) |
| Animate entities colliders from current state of mesh object bones transformation.
|
|
static proto int | FindMeshIndex (IEntity ent, string meshName) |
| Searches for index of sub mesh with provided meshName return -1 in case failed.
|
|
static proto void | ShowMesh (IEntity ent, int meshIndex, bool visible) |
| Set visibility of sub mesh at specified index.
|
|
◆ AnimateColliders()
static proto void GameAnimationUtils.AnimateColliders |
( |
IEntity | entity | ) |
|
|
static |
Animate entities colliders from current state of mesh object bones transformation.
◆ FindMeshIndex()
static proto int GameAnimationUtils.FindMeshIndex |
( |
IEntity | ent, |
|
|
string | meshName ) |
|
static |
Searches for index of sub mesh with provided meshName return -1 in case failed.
◆ GetEventString()
static proto string GameAnimationUtils.GetEventString |
( |
AnimationEventID | eventID | ) |
|
|
static |
◆ GetTagString()
static proto string GameAnimationUtils.GetTagString |
( |
AnimationTagID | tagID | ) |
|
|
static |
◆ RegisterAnimationEvent()
static proto AnimationEventID GameAnimationUtils.RegisterAnimationEvent |
( |
string | animationEventString | ) |
|
|
static |
return -1 if operation was unsuccessful
◆ RegisterAnimationTag()
static proto AnimationTagID GameAnimationUtils.RegisterAnimationTag |
( |
string | animationTagString | ) |
|
|
static |
Find or add AnimationTagID from provided string @Note: you should always cache and reuse returned id in order to reduce overhead return -1 if operation was unsuccessful.
◆ ShowMesh()
static proto void GameAnimationUtils.ShowMesh |
( |
IEntity | ent, |
|
|
int | meshIndex, |
|
|
bool | visible ) |
|
static |
Set visibility of sub mesh at specified index.
The documentation for this interface was generated from the following file:
- Game/generated/GameAnimationUtils.c