Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Selections
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include | #include "Selections/GeometrySelectionUtil.h" |
namespace UE
{
namespace Geometry
{
bool UE&58;&58;Geometry&58;&58;MakeSelectAllConnectedSelection
&40;
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGroupTopology &42; GroupTopology,
const FGeometrySelection & ReferenceSelection,
TFunctionRef< bool(FGeoSelectionID)> SelectionIDPredicate,
TFunctionRef< bool(FGeoSelectionID A, FGeoSelectionID B)> IsConnectedPredicate,
FGeometrySelection & AllConnectedSelection
&41;
}
}
Remarks
Expand the input ReferenceSelection to include all "connected" elements and return in AllConnectedSelection. The type of selected element is defined by ReferenceSelection. true if ReferenceSelection had a known geometry/topology type pair and AllConnectedSelection was populated
Parameters
| Name | Description |
|---|---|
| GroupTopology | precomputed group topology for Mesh, can be passed as null for EGeometryTopologyType::Triangle selections |
| SelectionIDPredicate | only elements that pass this filter will be expanded "to" (but elements of ReferenceSelection that fail the filter will still be included in output) |
| IsConnectedPredicate | this function determines if "A" should be considered connected to "B", ie can "expand" along that connection |