Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Description
Expand the input ReferenceSelection to include all "connected" elements and return in AllConnectedSelection. The type of selected element is defined by ReferenceSelection.
| Name | UE::Geometry::MakeSelectAllConnectedSelection |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include Path | #include "Selections/GeometrySelectionUtil.h" |
namespace UE
{
namespace Geometry
{
bool UE::Geometry::MakeSelectAllConnectedSelection
(
const UE::Geometry::FDynamicMesh3 & Mesh,
const FGroupTopology * GroupTopology,
const FGeometrySelection & ReferenceSelection,
TFunctionRef < bool)> SelectionIDPredicate,
TFunctionRef < boolA , FGeoSelectionID B )> IsConnectedPredicate,
FGeometrySelection & AllConnectedSelection
)
}
}
true if ReferenceSelection had a known geometry/topology type pair and AllConnectedSelection was populated
Parameters
| Name | Remarks |
|---|---|
| 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 |