Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Coordinates pointer capture, transforms, and one history transaction for a viewport gesture.

API: engine
Inherits: object
Project: Inno.Editor.Interactions

public sealed class Inno.Editor.Interactions.EditorViewportToolContext
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.