RegionModifier
Source:
RegionModifier.h
RegionModifier¶
src/light/modifiers/RegionModifier.h:40Inherits:
ModifierBase
Modifier carving the layer to a percentage sub-rectangle.
Public Attributes¶
lengthType startX = 0
lengthType startY = 0
lengthType startZ = 0
lengthType endX = 100
lengthType endY = 100
lengthType endZ = 100
Public Methods¶
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).