Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Associates an editor action with a keyboard shortcut.

API: scripting
Inherits: System.Attribute
Project: Inno.Editor.Interactions
Scope: Editor

public sealed class InnoEditor.Interactions.EditorShortcutAttribute : System.Attribute
Kind Element Description
Constructors EditorShortcutAttribute.Constructor(InnoEngine.Input.KeyCode,InnoEngine.Input.KeyModifier,System.Boolean) Creates a shortcut that can be dispatched from any focused interaction surface.
Constructors EditorShortcutAttribute.Constructor(System.String,InnoEngine.Input.KeyCode,InnoEngine.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.