Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UGeometrySelectionManager
Description
Attempt to restore (and then discard) the most recent saved selection. If there is no active saved selection, does nothing. On failure to restore, will still discard the saved selection.
| Name | RestoreSavedSelection |
| 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 bool RestoreSavedSelection()
false if could not restore selection, which can happen if the restore was called while transacting (e.g., when a tool is exited via undo), or if the selection objects were not found or not valid