RaptorSuiteControls.FusedAction
One button of a FusedRow.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | struct | preview, since 0.1.0 |
public readonly struct FusedActionConstructors
FusedAction
public FusedAction(string icon, string word, string tooltip = null, bool enabled = true)Creates a fused-row button.
| Parameter | Type | Default | Description |
|---|---|---|---|
icon | string | The icon name, or null. | |
word | string | The label, or null for an icon-only button. | |
tooltip | string | null | The tooltip, or null to use the label. |
enabled | bool | true | Whether 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.
Related types
- RaptorSuiteControls: Suite-style controls for tools in other assemblies, such as RAPTOR Render's Ray-traced preview settings.