Get RAPTOR

RaptorSuiteControls.FusedAction

One button of a FusedRow.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorstructpreview, since 0.1.0
public readonly struct FusedAction

Constructors

FusedAction

public FusedAction(string icon, string word, string tooltip = null, bool enabled = true)

Creates a fused-row button.

ParameterTypeDefaultDescription
iconstringThe icon name, or null.
wordstringThe label, or null for an icon-only button.
tooltipstringnullThe tooltip, or null to use the label.
enabledbooltrueWhether the button is enabled. A disabled button draws in Disabled ink and ignores clicks.

Fields

Enabled

public readonly bool Enabled;

Whether the button is enabled. A disabled button draws in Disabled ink and ignores clicks.

Icon

public readonly string Icon;

The icon name, or null.

Tooltip

public readonly string Tooltip;

The tooltip, or null for none.

Word

public readonly string Word;

The label, or null for an icon-only button.

  • RaptorSuiteControls: Suite-style controls for tools in other assemblies, such as RAPTOR Render's Ray-traced preview settings.