Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/TypedElementRuntime/Public/Elements/Framework/TypedElementSelectionSet.h |
Include |
#include "Elements/Framework/TypedElementSelectionSet.h" |
class UTypedElementSelectionSet :
public UObject,
public TTypedElementInterfaceCustomizationRegistry< FTypedElementSelectionCustomization >
A wrapper around an element list that ensures mutation goes via the selection interfaces, as well as providing some utilities for batching operations.
Name | Description | ||
---|---|---|---|
|
OnPreSelectionChange |
Delegate that is invoked whenever the underlying element list is potentially about to change. |
|
|
OnSelectionChange |
Delegate that is invoked whenever the underlying element list has been changed. |
Name | Description | |
---|---|---|
|
UTypedElementSelectionSet() |
Name | Description | ||
---|---|---|---|
|
AllowSelectionModifiers ( |
Test to see whether selection modifiers (Ctrl or Shift) are allowed while selecting this element. |
|
|
CanDeselectElement ( |
Test to see whether the given element can be deselected. |
|
|
CanSelectElement ( |
Test to see whether the given element can be selected. |
|
|
ClearSelection ( |
Clear the current selection. |
|
|
CountSelectedElements ( |
Count the number of selected elements, optionally filtering to elements that implement the given interface. |
|
|
CountSelectedObjects() |
Count the number of selected objects. |
|
|
CountSelectedObjects ( |
Count the number of selected objects. |
|
|
DeselectElement ( |
Attempt to deselect the given element. |
|
|
DeselectElements ( |
Attempt to deselect the given elements. |
|
|
DeselectElements ( |
Attempt to deselect the given elements. |
|
|
DeselectElements ( |
Attempt to deselect the given elements. |
|
|
ForEachSelectedElement ( |
Enumerate the selected elements that implement the given interface. |
|
|
ForEachSelectedElementHandle ( |
Enumerate the handle of every selected element, optionally filtering to elements that implement the given interface. |
|
|
ForEachSelectedObject ( |
Enumerate the selected objects from the currently selected elements. |
|
|
ForEachSelectedObject ( |
Enumerate the selected objects from the currently selected elements. |
|
|
TTypedElemen... |
GetBottomSelectedElement ( |
Get the last element that implement the given interface and pass the predicate. |
|
TTypedElemen... |
GetBottomSelectedElement() |
Get the last selected element implementing the given interface. |
|
RequiredClas... |
GetBottomSelectedObject() |
Get the last selected object of the given type. |
|
UObject *... |
GetBottomSelectedObject ( |
Get the last selected object of the given type. |
|
FTypedElemen... |
GetCurrentSelectionState() |
Serializes the current selection set. |
|
FTypedElemen... |
GetElementList() |
Get the underlying element list holding the selection state. |
|
FTypedElemen... |
GetNormalizedElementList ( |
Get a normalized version of the given element list that can be used to perform operations like gizmo manipulation, deletion, copying, etc. |
|
GetNormalizedElementList ( |
Get a normalized version of the given element list that can be used to perform operations like gizmo manipulation, deletion, copying, etc. |
|
|
GetNormalizedSelection ( |
Get a normalized version of this selection set that can be used to perform operations like gizmo manipulation, deletion, copying, etc. |
|
|
FTypedElemen... |
GetNormalizedSelection ( |
Get a normalized version of this selection set that can be used to perform operations like gizmo manipulation, deletion, copying, etc. |
|
GetNumSelectedElements() |
Get the number of selected elements. |
|
|
FTypedElemen... |
GetScopedClearNewPendingChange() |
Get a scoped object that when destroyed it clear a pending change notification without emitting the notification if it happened during its lifecycle. |
|
GetSelectedElementHandles ( |
Get the handle of every selected element, optionally filtering to elements that implement the given interface. |
|
|
GetSelectedElementHandles ( |
Get the handle of every selected element, optionally filtering to elements that implement the given interface. |
|
|
GetSelectedObjects ( |
Get the array of selected objects from the currently selected elements. |
|
|
TArray< Requ... |
GetSelectedObjects() |
Get the array of selected objects from the currently selected elements. |
|
FTypedElemen... |
GetSelectionElement ( |
Given an element, return the element that should actually perform a selection operation. |
|
TTypedElemen... |
GetTopSelectedElement() |
Get the first selected element implementing the given interface. |
|
TTypedElemen... |
GetTopSelectedElement ( |
Get the first element that implement the given interface and pass the predicate A function that should return true when the element is desirable |
|
RequiredClas... |
GetTopSelectedObject() |
Get the first selected object of the given type. |
|
UObject *... |
GetTopSelectedObject ( |
Get the first selected object of the given type. |
|
HasSelectedElements ( |
Test whether there selected elements, optionally filtering to elements that implement the given interface. |
|
|
HasSelectedObjects() |
Test whether there are any selected objects. |
|
|
HasSelectedObjects ( |
Test whether there are any selected objects. |
|
|
IsElementSelected ( |
Test to see whether the given element is currently considered selected. |
|
|
FTypedElemen... |
Legacy_GetElementListSync() |
Access the interface to allow external systems (such as USelection) to receive immediate sync notifications as the underlying element list is changed. |
|
FTypedElemen... |
Legacy_GetElementListSyncPtr() |
Access the interface to allow external systems (such as USelection) to receive immediate sync notifications as the underlying element list is changed. |
|
NotifyPendingChanges() |
Invoke the delegate called whenever the underlying element list has been changed. |
|
|
OnChanged() |
||
|
FOnPreChange... |
OnPreChange() |
|
|
RestoreSelectionState ( |
Restores the selection set from the given state. |
|
|
SelectElement ( |
Attempt to select the given element. |
|
|
SelectElements ( |
Attempt to select the given elements. |
|
|
SelectElements ( |
Attempt to select the given elements. |
|
|
SelectElements ( |
Attempt to select the given elements. |
|
|
SetSelection ( |
Attempt to make the selection the given elements. |
|
|
SetSelection ( |
Attempt to make the selection the given elements. |
|
|
SetSelection ( |
Attempt to make the selection the given elements. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
Modify ( |
That the object will be modified. |
|
|
PostEditUndo() |
Called after applying a transaction to the object. |
|
|
PreEditUndo() |
Called before applying a transaction to the object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name |
Description |
|
---|---|---|
|
FOnChanged |
Access the delegate that is invoked whenever the underlying element list has been changed. |
|
FOnChangeDynamic |
|
|
FOnPreChange |
Access the delegate that is invoked whenever the underlying element list is potentially about to change. |
|
FOnPreChangeDynamic |