Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Provides a fluent handle that borrows an optional target for a synchronous interaction request.

API: scripting
Inherits: System.ValueType
Project: Inno.Editor.Interactions
Scope: Editor

public readonly struct InnoEditor.Interactions.EditorInteraction

A target-bearing handle retains that target while it is in use. Do not cache it across frames, asynchronous work, or extension generations. Resolve live identity objects through Core Identity before creating a fresh handle. Focus and deferred routing capture their own identity or weak reference. Target-free handles can be reused within their owning interaction runtime.

Kind Element Description
Methods EditorInteraction.BeginDrag Begins a managed drag originating from this area.
Methods EditorInteraction.BuildCommands Builds searchable commands from this area’s menus and applicable unplaced Actions.
Methods EditorInteraction.BuildMenu Builds the complete contextual menu for this area and target.
Methods EditorInteraction.BuildToolbar Builds the complete compact toolbar for this area and target.
Methods EditorInteraction.Drop Delivers a managed drop to this target.
Methods EditorInteraction.Enqueue Queues an action until the current UI traversal completes.
Methods EditorInteraction.Execute Executes an action for this area and target.
Methods EditorInteraction.Focus Marks this area and target as the active keyboard context.
Methods EditorInteraction.IsActive Gets whether an action owns an active multi-frame operation for this target.
Methods EditorInteraction.Present Presents an active action in place of this target’s normal content.
Methods EditorInteraction.Query Queries an action for this area and target.
Methods EditorInteraction.QueryDrop Queries this handle as a drop target.
Methods EditorInteraction.Select Selects this target, or clears selection when the target is null.
Methods EditorInteraction.TryGetActiveDragIdentity Gets the currently active drag identity, if its source remains registered.
Methods EditorInteraction.TryGetShortcut Resolves the shortcut displayed for an action in this area.
Properties EditorInteraction.area Gets the stable interaction area.
Properties EditorInteraction.isSelected Gets whether this handle’s target is the current editor selection.
Properties EditorInteraction.target Gets the borrowed target without extending its validity or resolving a replacement generation.