Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool UE::Geometry::EnumerateTriangleSelectionElements
(
const FGeometrySelection& MeshSelection, |
Prefer EnumerateTriangleSelectionElements with Flags parameter. | Selections/GeometrySelectionUtil.h | |
bool UE::Geometry::EnumerateTriangleSelectionElements
(
const FGeometrySelection& MeshSelection, |
Enumerates the renderable geometry for a given MeshSelection when in Triangle Topology mode. | Selections/GeometrySelectionUtil.h |
UE::Geometry::EnumerateTriangleSelectionElements(const FGeometrySelection &, const UE::Geometry::FDynamicMesh3 &, TFunctionRef< void(int32, const FVector3d &)>, TFunctionRef< void(int32, const FSegment3d &)>, TFunctionRef< void(int32, const FTriangle3d &)>, const FTransform *, const bool)
Description
Prefer EnumerateTriangleSelectionElements with Flags parameter.
| Name | UE::Geometry::EnumerateTriangleSelectionElements |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include Path | #include "Selections/GeometrySelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Selections/GeometrySelectionUtil.cpp |
namespace UE
{
namespace Geometry
{
bool UE::Geometry::EnumerateTriangleSelectionElements
(
const FGeometrySelection & MeshSelection,
const UE::Geometry::FDynamicMesh3 & Mesh,
TFunctionRef < void> VertexFunc,
TFunctionRef < void> EdgeFunc,
TFunctionRef < void> TriangleFunc,
const FTransform * ApplyTransform,
const bool bMapFacesToEdgeLoops
)
}
}
UE::Geometry::EnumerateTriangleSelectionElements(const FGeometrySelection &, const UE::Geometry::FDynamicMesh3 &, TFunctionRef< void(int32, const FVector3d &)>, TFunctionRef< void(int32, const FSegment3d &)>, TFunctionRef< void(int32, const FTriangle3d &)>, const FTransform *, const EEnumerateSelectionMapping)
Description
Enumerates the renderable geometry for a given MeshSelection when in Triangle Topology mode.
Calls VertexFunc/EdgeFunc/TriangleFunc for the vertices/edges/triangles identified by MeshSelection. Since a MeshSelection only stores vertices edges, or triangles, but not combined, only one of these functions will be invoked during a call to this function.
This function employs the component specific variants (ex. EnumerateTriangleSelectionTriangles) but the overall intention of this function is to collect the renderable geometry representations of the selection. In triangle topology mode only, there is not a difference between all selection elements and the desired rendered elements. However, this function is still used for render representation for consistency and clarity.
| Name | UE::Geometry::EnumerateTriangleSelectionElements |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelectionUtil.h |
| Include Path | #include "Selections/GeometrySelectionUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Selections/GeometrySelectionUtil.cpp |
namespace UE
{
namespace Geometry
{
bool UE::Geometry::EnumerateTriangleSelectionElements
(
const FGeometrySelection & MeshSelection,
const UE::Geometry::FDynamicMesh3 & Mesh,
TFunctionRef < void> VertexFunc,
TFunctionRef < void> EdgeFunc,
TFunctionRef < void> TriangleFunc,
const FTransform * ApplyTransform,
const EEnumerateSelectionMapping Flags
)
}
}
Parameters
| Name | Remarks |
|---|---|
| ApplyTransform | if non-null, transform is applied to the 3D geometry |