Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Selection > API/Plugins/ModelingComponents/Selection/UGeometrySelectionManager
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelectionManager.h |
| Include | #include "Selection/GeometrySelectionManager.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/GeometrySelectionManager.cpp |
virtual bool SetSelectionForComponent
(
UPrimitiveComponent * Component,
const FGeometrySelection & NewSelection
)
Remarks
Directly set the current Selection for the specified Component to NewSelection. This function allows external code to construct explicit selections, eg for a Tool or Command to emit a new Selection. Component must already be an active target, ie set via AddActiveTarget. If the selection of the Target would be modified, a selection-change transaction will be emitted.