|
|
| Animations (TwinEEngine *engine) |
| |
| void | setAnimObjet (int32 keyframeIdx, const AnimData &animData, BodyData &bodyData, AnimTimerDataStruct *animTimerDataPtr) |
| |
| bool | setInterAnimObjet (int32 keyframeIdx, const AnimData &animData, BodyData &bodyData, AnimTimerDataStruct *animTimerDataPtr) |
| |
|
bool | setInterAnimObjet2 (int32 keyframeIdx, const AnimData &animData, BodyData &bodyData, AnimTimerDataStruct *animTimerDataPtr) |
| |
| int32 | searchAnim (AnimationTypes animIdx, int32 actorIdx=OWN_ACTOR_SCENE_INDEX) |
| |
| void | stockInterAnim (const BodyData &bodyData, AnimTimerDataStruct *animTimerDataPtr) |
| |
| bool | initAnim (AnimationTypes newAnim, AnimType animType, AnimationTypes animExtra, int32 actorIdx) |
| |
| void | processAnimActions (int32 actorIdx) |
| |
| void | doAnim (int32 actorIdx) |
| |
◆ setAnimObjet()
Set animation keyframe
- Parameters
-
| keyframIdx | Animation keyframe index |
| animData | Animation data |
| bodyData | Body model data |
| animTimerDataPtr | Animation time data |
◆ setInterAnimObjet()
Set new body animation
- Parameters
-
| keyframeIdx | Animation key frame index |
| animData | Animation data |
| bodyData | Body model data |
| animTimerDataPtr | Animation time data |
◆ searchAnim()
| int32 TwinE::Animations::searchAnim |
( |
AnimationTypes |
animIdx, |
|
|
int32 |
actorIdx = OWN_ACTOR_SCENE_INDEX |
|
) |
| |
Get entity anim index (This is taken from File3D entities)
- Parameters
-
| animIdx | Entity animation index |
| actorIdx | Actor index |
◆ stockInterAnim()
Stock animation - copy the next keyFrame from a different buffer
- Parameters
-
| bodyData | Body model data |
| animTimerDataPtr | Animation time data |
◆ initAnim()
| bool TwinE::Animations::initAnim |
( |
AnimationTypes |
newAnim, |
|
|
AnimType |
animType, |
|
|
AnimationTypes |
animExtra, |
|
|
int32 |
actorIdx |
|
) |
| |
Initialize animation
- Parameters
-
| newAnim | animation to init |
| animType | animation type |
| animExtra | animation actions extra data |
| actorIdx | actor index |
◆ processAnimActions()
| void TwinE::Animations::processAnimActions |
( |
int32 |
actorIdx | ) |
|
Process acotr animation actions
- Parameters
-
◆ doAnim()
| void TwinE::Animations::doAnim |
( |
int32 |
actorIdx | ) |
|
Process main loop actor animations
- Parameters
-
◆ _currentActorAnimExtraPtr
| AnimationTypes TwinE::Animations::_currentActorAnimExtraPtr = AnimationTypes::kAnimNone |
Current actor anim extra pointer
The documentation for this class was generated from the following file: