MoonLiveModifier
Source:
MoonLiveModifier.h
MoonLiveModifier¶
src/light/moonlive/MoonLiveModifier.h:42Inherits:
ModifierBase
Modifier whose coordinate transform is a live-authored MoonLive script.
Public Methods¶
virtual inline const char * tags() const override
: Both answered by the SCRIPT when it says, the same delegation MoonLiveEffect does.
virtual inline Dim dimensions() const override
: Advisory here rather than functional: extrude reads the EFFECT's dimensions.
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline void prepare() override
: Compile the script as written.
virtual inline bool consumeNeedsRebuild() override
: The Layer polls this after ticking its modifiers and rebuilds its mapping once if any asks.
virtual inline void modifyLogicalSize(Coord3D & size) override
: The Layer hands every modifier the running logical box before it folds any coordinate.
virtual inline bool modifyLogical(Coord3D & pos) const override
: Transform one coordinate.
virtual inline void release() override
inline void setScript(const char * name)
: Replace the script.