Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/Selection > API/Plugins/UVEditorTools/Selection/UUVToolSelectionAPI
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionAPI.h |
| Include | #include "Selection/UVToolSelectionAPI.h" |
| Source | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Private/Selection/UVToolSelectionAPI.cpp |
void SetSelections
&40;
const TArray< FUVToolSelection > & SelectionsIn,
bool bBroadcast,
bool bEmitChange
&41;
Remarks
Sets the current selection. Selections should be same type, with no more than one selection object per asset, and no empty selection objects. Selections should be referring to the UnwrapCanonical of the associated target.
Parameters
| Name | Description |
|---|---|
| bBroadcast | If true, broadcast OnPreSelectionChange and OnSelectionChanged |
| bEmitChange | If true, emit an undo/redo transaction. |
| bAllowInconsistentSelectionTypes | If true, allow setting selections with different selection types than any currently set UnsetElement selections. Primarily useful during undo/redo |