MultiplyModifier
Source:
MultiplyModifier.h
MultiplyModifier¶
src/light/modifiers/MultiplyModifier.h:23Inherits:
ModifierBase
Modifier tiling the image across the box, optionally mirrored.

Public Attributes¶
uint8_t multiplyX = 2
uint8_t multiplyY = 2
uint8_t multiplyZ = 2
bool mirrorX = true
bool mirrorY = true
bool mirrorZ = true
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
: Advisory UI chip: what this modifier can work on (tiles on all three axes; on a 2D grid the z factor is simply 1).
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline void modifyLogicalSize(Coord3D &) override
: STATIC, build-time, once per rebuild in child order: fold the logical box.
virtual inline bool modifyLogical(Coord3D &) const override
: STATIC, build-time, per physical light in child order: fold a coordinate into this stage's logical space (in place).