Synced
EditorShortcutAttribute
Section titled “EditorShortcutAttribute”
- Associates an editor action with a keyboard shortcut.
Required contracts
Section titled “Required contracts”API: engine
Inherits: System.Attribute
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Interactions.EditorShortcutAttribute : System.AttributeMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | EditorShortcutAttribute.Constructor(Inno.Core.Input.KeyCode,Inno.Core.Input.KeyModifier,System.Boolean) | Creates a shortcut that can be dispatched from any focused interaction surface. |
| Constructors | EditorShortcutAttribute.Constructor(System.String,Inno.Core.Input.KeyCode,Inno.Core.Input.KeyModifier,System.Boolean) | Creates a shortcut scoped to an exact interaction area. |
| Properties | EditorShortcutAttribute.area | Gets the optional exact interaction area. |
| Properties | EditorShortcutAttribute.key | Gets the shortcut key. |
| Properties | EditorShortcutAttribute.modifiers | Gets additional shortcut modifiers. |
| Properties | EditorShortcutAttribute.primary | Gets whether the platform primary modifier is required. |