Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Handles a focused viewport shortcut before global action routing.

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

public virtual bool InnoEditor.Interactions.EditorViewportTool.OnShortcut(InnoEditor.Interactions.EditorViewportToolContext context, InnoEditor.Interactions.EditorViewportShortcut shortcut)

Parameter context: Gesture and coordinate context.

Parameter shortcut: Pressed key sample.

true when the tool consumed the key.