Synced
EditorViewportTool.OnShortcut
Section titled “EditorViewportTool.OnShortcut”
- Handles a focused viewport shortcut before global action routing.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public virtual bool InnoEditor.Interactions.EditorViewportTool.OnShortcut(InnoEditor.Interactions.EditorViewportToolContext context, InnoEditor.Interactions.EditorViewportShortcut shortcut)Parameters
Section titled “Parameters”Parameter context: Gesture and coordinate context.
Parameter shortcut: Pressed key sample.
Returns
Section titled “Returns”true when the tool consumed the key.