Synced
EditorSelectionState.TryGet
Section titled “EditorSelectionState.TryGet”
- Resolves the primary selected target as the requested type for immediate use.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public bool Inno.Editor.Interactions.EditorSelectionState.TryGet<TTarget>(out TTarget? target)Type parameters
Section titled “Type parameters”Type parameter TTarget: The expected target type.
Parameters
Section titled “Parameters”Parameter target: Receives the available primary target, or null.
Returns
Section titled “Returns”True when the current primary target has the requested type.