Get RAPTOR

RaptorSuiteViewToggles

Show and hide switches that modules add to the Details section of RAPTOR Render's Preview settings.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, 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 RaptorSuiteViewToggles

Properties

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.

ParameterTypeDescription
toggleViewToggleThe row.

Call from an [InitializeOnLoad] static constructor on the main thread.