RaptorSuiteSettingsPage
The Suite's Settings page.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | class | preview, since 0.1.0 |
Modules add rows through registries such as RaptorSuiteSettingsSwitches. Switch draws the page's standard on/off control.
public sealed class RaptorSuiteSettingsPageMethods
Switch
public static bool Switch(Rect area, bool on, float width, float height, bool mixed)Draws the standard on/off switch at any size. When mixed is true, the knob is centred.
| Parameter | Type | Description |
|---|---|---|
area | Rect | The rect to draw in. |
on | bool | The current value. |
width | float | The switch's width. |
height | float | The switch's height. |
mixed | bool | True when a multi-selection has different values. |
Returns: The value after this event.