wavelength 1.0.0
Loading...
Searching...
No Matches
setbluraction.h
Go to the documentation of this file.
1#pragma once
2
4#include "rnd/rndblur.h"
5#include "script/dataarray.h"
6
14public:
21 ~SetBlurAction() override = default;
22
30 explicit SetBlurAction(DataArray *pAction);
31
38 void Exec() override;
39
40private:
41 // The values the node set.
42 enum Flag {
43 kFlagLength = 1,
44 kFlagRate = 2,
45 kFlagFalloff = 4,
46 };
47
48 int mFlags;
49 RndBlur *mBlur;
50 int mLength;
51 int mRate;
52 float mFalloff;
53};
Reference-counted array of script data nodes.
Definition dataarray.h:20
Motion trail that draws a mesh or a text again at the transforms it recently occupied.
Definition rndblur.h:21
~SetBlurAction() override=default
Destroy the object.
SetBlurAction(DataArray *pAction)
Read the action.
void Exec() override
Write the values the node set into the blur.
Something a trigger does when its conditions hold.
Definition triggeraction.h:15