RaptorSuiteViewToggles
Show and hide switches that modules add to the Details section of RAPTOR Render's Preview settings.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | class | preview, since 0.1.0 |
Each row is a switch a module adds, for example to show or hide its objects. RAPTOR lists the rows; the registrant decides what each one hides.
public static class RaptorSuiteViewTogglesProperties
All
public static IReadOnlyList<ViewToggle> All { get; }Gets every registered row.
Methods
Register
public static void Register(ViewToggle toggle)Adds a row, or replaces the one with the same Id.
| Parameter | Type | Description |
|---|---|---|
toggle | ViewToggle | The row. |
Call from an [InitializeOnLoad] static constructor on the main thread.
Related types
- RaptorSuiteViewToggles.ViewToggle: A show or hide row in the Preview settings' Details section.