wavelength 1.0.0
Loading...
Searching...
No Matches
SetAnimAction Class Reference

The set_anim action, which changes the first filter of an animatable. More...

#include <setanimaction.h>

Inheritance diagram for SetAnimAction:
Collaboration diagram for SetAnimAction:

Public Member Functions

 ~SetAnimAction () override=default
 Destroy the object.
 SetAnimAction (DataArray *pAction)
 Read the action.
void Exec () override
 Write the values the node set into the first filter.
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.

Detailed Description

The set_anim action, which changes the first filter of an animatable.

The RTTI records the class as deriving from TriggerAction. The object is 0x24 bytes. Node 1 names the animatable. The optional scale and offset require a ScaleOffset first filter, and min and max a MinMaxLoop one.

Constructor & Destructor Documentation

◆ ~SetAnimAction()

SetAnimAction::~SetAnimAction ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x003746a8
Ghidra address:
PAL: 0x003e2dd8

◆ SetAnimAction()

SetAnimAction::SetAnimAction ( DataArray * pAction)
explicit

Read the action.

A first filter of the wrong kind produces a warning.

Parameters
pActionThe node.
Ghidra address:
NTSC-U/C: 0x002003a0
Ghidra address:
PAL: 0x00209140

Member Function Documentation

◆ Exec()

void SetAnimAction::Exec ( )
overridevirtual

Write the values the node set into the first filter.

A new scale without a new offset moves the offset to keep the output at the current frame.

Ghidra address:
NTSC-U/C: 0x00202390
Ghidra address:
PAL: 0x0020b130

Implements TriggerAction.


The documentation for this class was generated from the following file: