/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/GeometrySelector.h
Populate a Selection using the provided ReferenceMode, with a Predicate and optional ReferenceSelection. Note that this method does not modify/access any selection that might be "owned" by the Selector. It is part of theIGeometrySelectorAPI because often a Selector has access to internal data structures (like a Mesh, GroupTopology, etc) that are required to initialize a Selection.
void InitializeSelectionFromPredicate ( [FGeometrySelection](API\Plugins\ModelingComponents\Selection\IGeometrySelector\FGeometrySelection) & SelectionInOut, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool([UE::Geometry::FGeoSelectionID](API\Plugins\DynamicMesh\Selections\FGeoSelectionID))> SelectionIDPredicate, [EInitializeSelectionMode](API\Plugins\ModelingComponents\Selection\IGeometrySelector\EInitializeSelec-) InitializeMode, const [FGeometrySelection](API\Plugins\ModelingComponents\Selection\IGeometrySelector\FGeometrySelection) * ReferenceSelection )