GridLayout
Source:
GridLayout.h
GridLayout¶
src/light/layouts/GridLayout.h:16Inherits:
LayoutBase
Layout of a dense row-major 3D grid.

Public Attributes¶
lengthType width = defaultGridSize
lengthType height = defaultGridSize
lengthType depth = 1
bool serpentine =
Public Methods¶
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline nrOfLightsType lightCount() const override
virtual inline void forEachCoord(constCoordSink & sink) const override