Skip to main content

Module layout

Module layout 

Source

Structs§

Layout
A subset of all fixtures in a user definable 2d arrangement.
LayoutMode
One mode of a layout: which mode of its own definition each fixture uses.
LayoutSelection
Which layout, and which of its modes, drives a tile or an effect.

Enums§

LayoutRef
Which layout the editor is pointed at. The topology’s default layout is addressed separately from the user layouts.

Constants§

SCENE_SIZE
Side of the square editor scene, in scene units. One unit is a centimetre, so the scene covers 20 x 20 m. Effects map this square onto their [0,1] UV space, which is why it lives with the data rather than the editor.

Functions§

scene_bounds
The square the scene occupies. Effects and the live preview map exactly this rectangle onto their [0,1] UV space, so the editor shows the same one.