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 |
void SynchronizeActiveTargets
(
const TArray < FGeometryIdentifier > & DesiredActiveSet,
TFunctionRef < void> WillChangeActiveTargetsCallback
)
Remarks
Update the current active target set based on DesiredActiveSet, assuming that a valid IGeometrySelectorFactory can be found for each identifier. This function will emit a transaction/change if the target set is modified.
Parameters
| Name | Description |
|---|---|
| WillChangeActiveTargetsCallback | this function will be called if the DesiredActiveSet is not the same as the current active set, allowing calling code to (eg) clear the active selection |