Synced
EditorViewportToolContext
Section titled “EditorViewportToolContext”
- Coordinates pointer capture, transforms, and one history transaction for a viewport gesture.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Interactions.EditorViewportToolContextMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | EditorViewportToolContext.BeginHistoryGesture | Begins the only history transaction allowed for the current captured gesture. |
| Methods | EditorViewportToolContext.CapturePointer | Captures one pointer until explicit release or cancellation. |
| Methods | EditorViewportToolContext.CompleteHistoryGesture | Commits or rolls back the current gesture transaction exactly once. |
| Methods | EditorViewportToolContext.ReleasePointer | Releases the currently captured pointer. |
| Methods | EditorViewportToolContext.ScreenToWorld | Converts viewport-local pixel coordinates to world coordinates. |
| Methods | EditorViewportToolContext.WorldToScreen | Converts world coordinates to viewport-local pixel coordinates. |
| Properties | EditorViewportToolContext.capturedPointerId | Gets the captured pointer identity, or null. |
| Properties | EditorViewportToolContext.hasHistoryGesture | Gets whether a history transaction is active for the current gesture. |
| Properties | EditorViewportToolContext.hasPointerCapture | Gets whether this tool owns a pointer. |