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

The blur action, which switches on the screen blur of the renderer. More...

#include <bluraction.h>

Inheritance diagram for BlurAction:
Collaboration diagram for BlurAction:

Public Member Functions

 ~BlurAction () override=default
 Destroy the object.
 BlurAction (DataArray *pAction)
 Read the action.
void Exec () override
 Copy the parameters into ThePs and switch the blur on.
bool Poll () override
 Switch the blur off once its time has passed.
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.

Detailed Description

The blur action, which switches on the screen blur of the renderer.

The RTTI records the class as deriving from TriggerAction. The object is 0x2c bytes. Node 1 is the amount, node 2 the count, node 3 an array of the four values of the rectangle, and node 4 the time the blur lasts. A time of 0 leaves the blur on.

Constructor & Destructor Documentation

◆ ~BlurAction()

BlurAction::~BlurAction ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00374ac8
Ghidra address:
PAL: 0x003e31f8

◆ BlurAction()

BlurAction::BlurAction ( DataArray * pAction)
explicit

Read the action.

Parameters
pActionThe node.
Ghidra address:
NTSC-U/C: 0x002009c8
Ghidra address:
PAL: 0x00209768

Member Function Documentation

◆ Exec()

void BlurAction::Exec ( )
overridevirtual

Copy the parameters into ThePs and switch the blur on.

Ghidra address:
NTSC-U/C: 0x00202608
Ghidra address:
PAL: 0x0020b3a8

Implements TriggerAction.

◆ Poll()

bool BlurAction::Poll ( )
overridevirtual

Switch the blur off once its time has passed.

Returns
Whether the time has passed.
Ghidra address:
NTSC-U/C: 0x00203288
Ghidra address:
PAL: 0x0020c040

Reimplemented from TriggerAction.


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