Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Selection
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/ToolSelectionUtil.h |
| Include | #include "Selection/ToolSelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Selection/ToolSelectionUtil.cpp |
namespace ToolSelectionUtil
{
bool ToolSelectionUtil&58;&58;AccumulateSelectionElements
&40;
UE::Geometry::FGeometrySelectionElements & Elements,
const UE::Geometry::FGeometrySelection & Selection,
const UE::Geometry::FDynamicMesh3 & SourceMesh,
const UE::Geometry::FGroupTopology &42; Topology,
const FTransform &42; ApplyTransform,
bool bMapFacesToEdges
&41;
}
Remarks
Add the geometry selection elements corresponding to the given Selection to Elements. This function does not reset Elements before adding elements. If the Selection has Polygroup topology then use the given Topology to accumulate elements if it isn't null, otherwise compute a FGroupTopology from SourceMesh.TriangleGroups and use that to accumulate elements. If the Selection has Triangle topology then the Topology argument is ignored. Return false if there was an error and true otherwise