The animate action, which plays an animatable forward in step with the clock.
More...
#include <animateaction.h>
|
| | ~AnimateAction () override=default |
| | Destroy the object.
|
| | AnimateAction (DataArray *pAction) |
| | Read the action.
|
| void | Exec () override |
| | Start playing, or move to the first frame at once when the length is 0.
|
| bool | Poll () override |
| | Move the animatable to the frame for the time on the clock.
|
| virtual | ~TriggerAction () |
| | Release the action.
|
| void | Start () |
| | Run the action now, or schedule it when it has a delay.
|
| float | GetDelay () const |
| void | SetDelay (float fDelay) |
| | Set the time on the clock of the action before Exec() runs.
|
| int | GetClock () const |
| void | SetClock (int nClock) |
| | Set the TriggerMgr::Clock the action runs on.
|
|
| static TriggerAction * | New (DataArray *pAction) |
| | Build the action a node describes.
|
| template<class T> |
| static T * | FindObject (DataArray *pAction, const char *pszName) |
| | Find a renderer object of a class by name, warning when there is none.
|
The animate action, which plays an animatable forward in step with the clock.
The RTTI records the class as deriving from TriggerAction. The object is 0x20 bytes. Node 1 names the animatable and node 2 is the length to play. The optional node 3 is the first frame, and without it the animatable plays on from its current frame.
◆ ~AnimateAction()
| AnimateAction::~AnimateAction |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x00375128
- Ghidra address:
- PAL: 0x003e3858
◆ AnimateAction()
| AnimateAction::AnimateAction |
( |
DataArray * | pAction | ) |
|
|
explicit |
Read the action.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00201e60
- Ghidra address:
- PAL: 0x0020ac00
◆ Exec()
| void AnimateAction::Exec |
( |
| ) |
|
|
overridevirtual |
Start playing, or move to the first frame at once when the length is 0.
- Ghidra address:
- NTSC-U/C: 0x00202d80
- Ghidra address:
- PAL: 0x0020bb20
Implements TriggerAction.
◆ Poll()
| bool AnimateAction::Poll |
( |
| ) |
|
|
overridevirtual |
Move the animatable to the frame for the time on the clock.
- Returns
- Whether the length has played.
- Ghidra address:
- NTSC-U/C: 0x002032c8
- Ghidra address:
- PAL: 0x0020c080
Reimplemented from TriggerAction.
The documentation for this class was generated from the following file: