RaptorSuiteViewToggles.ViewToggle
A show or hide row in the Preview settings' Details section.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | class | preview, since 0.1.0 |
public sealed class ViewToggleFields
Get
public Func<bool> Get;Returns the row's state.
Icon
public string Icon;Optional icon name for the row. Null leaves the icon slot empty.
Id
public string Id;Stable id (e.g. "mymodule.things").
Label
public string Label;The row's title (e.g. "Things").
Set
public Action<bool> Set;Sets the row's state.
Tooltip
public string Tooltip;Optional hover text for the row.
Related types
- RaptorSuiteViewToggles: Show and hide switches that modules add to the Details section of RAPTOR Render's Preview settings.