Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UGeometrySelectionManager
Description
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.
| Name | SynchronizeActiveTargets |
| 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 |
void SynchronizeActiveTargets
(
const TArray < FGeometryIdentifier > & DesiredActiveSet,
TFunctionRef < void> WillChangeActiveTargetsCallback
)
Parameters
| Name | Remarks |
|---|---|
| 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 |