Skip to content

CubeLayout

Source: CubeLayout.h

CubeLayout

class CubeLayout
src/light/layouts/CubeLayout.h:27

Inherits: LayoutBase

Layout of a 3D cube volume (width×height×depth).

Public Attributes

lengthType width = 10

lengthType height = 10

lengthType depth = 10

uint8_t wiringOrder = 3

bool incX = true

bool incY = true

bool incZ = true

bool snakeX = false

bool snakeY = true

bool snakeZ = false

Public Methods

virtual inline void defineControls() override : defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().

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 : The shape this layout LAYS OUT: a line, a picture, a volume.

virtual inline nrOfLightsType lightCount() const override

virtual inline void placeLights(const CoordSink & sink) const override