Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/UUVToolSelectionAPI
An object representing a selection that can be as an undo/redo item, usually emitted by the selection API itself. Expects UUVToolSelectionAPI to be the associated UObject.
| Name | FSelectionChange |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionAPI.h |
| Include Path | #include "Selection/UVToolSelectionAPI.h" |
Syntax
class FSelectionChange : public FToolCommandChange
Inheritance Hierarchy
- FChange → FCommandChange → FToolCommandChange → UUVToolSelectionAPI::FSelectionChange
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseStableUnwrapCanonicalIDsForEdges | bool | When true, edge-type selections are not stored as eids, but rather as stable identifiers relative to the UnwrapCanonical mesh in the Target of the selection. | Selection/UVToolSelectionAPI.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Useful for storing a pending change and figuring out whether it needs to be emitted. | Selection/UVToolSelectionAPI.h | ||
virtual void SetAfter
(
TArray< FUVToolSelection > Selections |
Selection/UVToolSelectionAPI.h | ||
virtual void SetBefore
(
TArray< FUVToolSelection > Selections |
Selection/UVToolSelectionAPI.h |
Overridden from FChange
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Apply
(
UObject* Object |
Selection/UVToolSelectionAPI.h | ||
virtual bool HasExpired
(
UObject* Object |
Selection/UVToolSelectionAPI.h | ||
virtual void Revert
(
UObject* Object |
Selection/UVToolSelectionAPI.h | ||
virtual FString ToString() |
Selection/UVToolSelectionAPI.h |