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

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

public sealed class InnoEditor.Interactions.EditorViewportToolContext
Kind Element Description
Constructors EditorViewportToolContext.Constructor Appears in the generated script reference without a matching public or protected engine constructor.
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.