Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FBaseDynamicMeshSelector
Description
Accumulate all geometric elements (currently 3D triangles, line segments, and points) in the provided ElementsInOut by initializing vertex, edge, and face selections using the provided predicate and then accumulating elements for those selections. ElementsInOut is not cleared.
Virtual Inheritance
- IGeometrySelector::AccumulateElementsFromPredicate → FBaseDynamicMeshSelector::AccumulateElementsFromPredicate
| Name | AccumulateElementsFromPredicate |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/DynamicMeshSelector.h |
| Include Path | #include "Selection/DynamicMeshSelector.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/DynamicMeshSelector.cpp |
virtual void AccumulateElementsFromPredicate
(
FGeometrySelectionElements & ElementsInOut,
bool bTransformToWorld,
bool bIsForPreview,
bool bUseGroupTopology,
TFunctionRef < bool, UE::Geometry::FGeoSelectionID )> Predicate
)
Parameters
| Name | Remarks |
|---|---|
| bTransformToWorld | if true each geometric element will be transformed to World space, based on GetLocalToWorldTransform() |
| bIsForPreview | if true, geometry is being collected for a preview of selection. Selector may return simplified geometry in this case |
| bUseGroupTopology | if true, attempt to use group topology when populating ElementsInOut |
| Predicate | if true for a given element type and element ID, this element will be collected, otherwise this element will be skipped. |