Synced
EditorViewportToolSession
Section titled “EditorViewportToolSession”
- Routes focused viewport input to one active tool while enforcing pointer-capture ownership.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IDisposable
Inherits: object
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Interactions.EditorViewportToolSession : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | EditorViewportToolSession.Constructor | Creates a viewport tool session. |
| Methods | EditorViewportToolSession.Dispose | Cancels active gesture state and deactivates the tool. |
| Methods | EditorViewportToolSession.DrawOverlay | Draws the active tool overlay. |
| Methods | EditorViewportToolSession.HandlePointer | Routes one immutable pointer sample. |
| Methods | EditorViewportToolSession.HandleShortcut | Routes one focused keyboard shortcut. |
| Methods | EditorViewportToolSession.SetTool | Activates a tool after cancelling any current gesture. |
| Properties | EditorViewportToolSession.cursor | Gets the requested cursor for the active tool. |
| Properties | EditorViewportToolSession.tool | Gets the active tool, or null. |