Get RAPTOR

RaptorSuiteSelectionContext

A read-only snapshot of the Suite's selection.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0

Object and element selections are independent.

public sealed class RaptorSuiteSelectionContext

Properties

ActiveObject

public GameObject ActiveObject { get; }

The active selected object, or null.

EffectiveObject

public GameObject EffectiveObject { get; }

The object the selection acts on. When an element selection is current, this is the object that holds the primary element; otherwise it is ActiveObject.

Objects

public IReadOnlyList<GameObject> Objects { get; }

The selected objects inside the authoring scope.