Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/Selection > API/Plugins/UVEditorTools/Selection/UUVToolSelectionAPI
Inheritance Hierarchy
- FChange
- FCommandChange
- FToolCommandChange
- UUVToolSelectionAPI::FSelectionChange
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionAPI.h |
| Include | #include "Selection/UVToolSelectionAPI.h" |
Syntax
class FSelectionChange : public FToolCommandChange
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FUVToolSelection > | After | ||
| TArray< FUVToolSelection > | Before | ||
| bool | bUseStableUnwrapCanonicalIDsForEdges | 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. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FUVToolSelection > | GetBefore () |
Useful for storing a pending change and figuring out whether it needs to be emitted. | |
| void | SetAfter
(
TArray< FUVToolSelection > Selections |
||
| void | SetBefore
(
TArray< FUVToolSelection > Selections |