Get RAPTOR

RaptorSuiteViewToggles.ViewToggle

A show or hide row in the Preview settings' Details section.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0
public sealed class ViewToggle

Fields

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.

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