RotateModifier
Source:
RotateModifier.h
RotateModifier¶
src/light/modifiers/RotateModifier.h:32Inherits:
ModifierBase
Modifier rotating the 2D image about its center over time.
Public Attributes¶
uint8_t speed = 1
Public Methods¶
virtual inline const char * tags() const override
: Curated emoji tags for the module picker's chip filter — extras beyond the role chip (which the UI derives from role() on its own).
virtual inline Dim dimensions() const override
: Which axes the modifier can transform.
virtual inline bool hasModifyLive() const override
: True iff this modifier does per-frame work (overrides modifyLive).
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline bool affectsPrepare(const char *) const override
: A modifier control change alters the mapping, so the owning Layer must rebuild it — the pipeline-wide rebuild path.
virtual inline void modifyLive(Coord3D &, const Coord3D &) const override
: DYNAMIC, per-frame at render time: remap a coordinate without rebuilding the mapping (smooth rotation/scroll).
virtual inline void tick() override