Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UGeometrySelectionManager
Description
Selection Updates Clear any active element selections. This function will emit a Transaction for the selection change.
| Name | ClearSelection |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelectionManager.h |
| Include Path | #include "Selection/GeometrySelectionManager.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/GeometrySelectionManager.cpp |
virtual void ClearSelection
(
bool bSaveSelectionBeforeClear
)
Parameters
| Name | Remarks |
|---|---|
| bSaveSelectionBeforeClear | if true, calls SaveCurrentSelection() before the selection is cleared, so it can be restored later. |