AutoMovie API
    Preparing search index...

    Function createSwitch

    • A wall control pressed with a finger: a rocker light switch or a round call button.

      The control sits on a wall plate in the XY plane, facing +Z, at its mounting height above the origin on the floor. Its moving face is a part on the press button, so pressing it sinks it into the plate.

      Parameters

      • params: createSwitch.IParams

        The kind and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws every dimension left free inside its band; absent, each takes the middle of its band.

      Returns Archetype<"press", createSwitch.Dimension>

      The control.

      For a fixed dimension outside its band.