Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module ui/layers/labeled-toggle

    A labelled on/off control for the Layers panel — the boolean sibling of LabeledSlider, with the same DOM shape (a control group whose label row holds the text in a span), so the panel's control-group lookups find it by label like every other control. The checkbox sits where a slider's readout would.

    First use: the physical block's "Refract data" switch (spec MESH_PHYSICAL_MATERIALS §3.4 Phase 3). Like the sliders it can be marked INERT with a reason, for a state in which flipping it changes nothing on screen.

    LabeledToggle
    LabeledToggleOptions