Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a shortcut that can be dispatched from any focused interaction surface.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public InnoEditor.Interactions.EditorShortcutAttribute.EditorShortcutAttribute(InnoEngine.Input.KeyCode key, InnoEngine.Input.KeyModifier modifiers = InnoEngine.Input.KeyModifier.None, bool primary = false)

Parameter key: The non-modifier key that triggers the action.

Parameter modifiers: The exact additional modifier keys required by the gesture.

Parameter primary: Whether the platform primary modifier, Command on macOS or Control elsewhere, is required.