GUI
A GUI with controls for the parameters of objects, see orx-parameters. The parameters are bound by bindings, which can be shared with other code, like remote controls; objects added to it directly are shown too.
Inheritors
Constructors
Types
the values of parameters as they are saved, see ParameterBindings.toObject
Properties
the bindings of the parameters of the objects that the GUI shows
The canvas created by GUILayoutScope.sideCanvas, see enableSideCanvas.
whether compartments start collapsed, also those that were added and were not collapsed or expanded since
The history of the changes to the parameters, for undo and redo: command or control and z undoes, with shift or control and y redoes, unless undoShortcuts is false
Show a header above every compartment that collapses and expands it when clicked. Must be set before the GUI is installed with extend().
The style sheets for the GUI's elements, applied on top of defaultStyles. Must be set before the GUI is installed with extend().
true when the keys for undo and redo are used by the GUI
Functions
Can be called by the user to update the gui using an object deserialized externally. Allows the user to load a larger json object, deserialize it, and use part of it to update the GUI. Complements .toObject().
asks for a file of parameters and loads it
Moves the values of the parameters towards random values by strength, see ParameterBindings.randomize
asks for a file to save the parameters to, in the folder of the parameters at first
Expand the compartment with label and collapse all other compartments.