|
wavelength 1.0.0
|
The add_anim and remove_anim actions, which attach an animatable to another or detach it. More...
#include <animchildaction.h>


Public Member Functions | |
| ~AnimChildAction () override=default | |
| Destroy the object. | |
| AnimChildAction (DataArray *pAction, bool bAdd) | |
| Read the action. | |
| void | Exec () override |
| Add the child to the parent, or remove it. | |
| Public Member Functions inherited from TriggerAction | |
| virtual | ~TriggerAction () |
| Release the action. | |
| virtual bool | Poll () |
| Advance an action that TriggerMgr::AddRunning() received. | |
| 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. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from TriggerAction | |
| static TriggerAction * | New (DataArray *pAction) |
| Build the action a node describes. | |
| Static Protected Member Functions inherited from TriggerAction | |
| 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 add_anim and remove_anim actions, which attach an animatable to another or detach it.
The RTTI records the class as deriving from TriggerAction. The object is 0x18 bytes. Node 1 names the child and node 2 the parent.
|
overridedefault |
Destroy the object.
| AnimChildAction::AnimChildAction | ( | DataArray * | pAction, |
| bool | bAdd ) |
Read the action.
One warning reports the first of the two names that is missing.
| pAction | The node. |
| bAdd | True for add_anim, false for remove_anim. |
|
overridevirtual |
Add the child to the parent, or remove it.
Implements TriggerAction.