|
wavelength 1.0.0
|
The background action, which fades the clear colour of the renderer to a new colour. More...
#include <backgroundaction.h>


Public Member Functions | |
| ~BackgroundAction () override=default | |
| Destroy the object. | |
| BackgroundAction (DataArray *pAction) | |
| Read the action. | |
| void | Exec () override |
| Start the fade from the current clear colour. | |
| bool | Poll () override |
| Set the clear colour for the time on the clock. | |
| Public Member Functions inherited from TriggerAction | |
| 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. | |
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 background action, which fades the clear colour of the renderer to a new colour.
The RTTI records the class as deriving from TriggerAction. The object is 0x40 bytes. Nodes 1 through 3 are the red, green, and blue of the colour, and node 4 the length of the fade.
|
overridedefault |
Destroy the object.
|
explicit |
Read the action.
The alpha of the colour is never written.
| pAction | The node. |
|
overridevirtual |
Start the fade from the current clear colour.
Implements TriggerAction.
|
overridevirtual |
Set the clear colour for the time on the clock.
Reimplemented from TriggerAction.