Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Replaces the ordered selection; duplicates are removed and the final target becomes primary.

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

public void InnoEditor.Interactions.EditorInteractions.SetSelection(System.Collections.Generic.IEnumerable<InnoEngine.Core.IdentityObject> targets, InnoEngine.Core.IdentityObject? anchor)

Parameter targets: Registered objects resolved for the current callback.

Parameter anchor: The range anchor, or null to use the first selected target.

Exception T:System.ArgumentNullException: The target collection or one member is null.

Exception T:System.InvalidOperationException: A target has no live identity registration.