Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TDynamicMeshVectorOverlay
Description
Iterate through triangles connected to VertexID and call ProcessFunc for each per-triangle-vertex Element with its Value. ProcessFunc must return true to continue the enumeration, or false to early-terminate it
| Name | EnumerateVertexElements |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshOverlay.h |
| Include Path | #include "DynamicMesh/DynamicMeshOverlay.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMeshOverlay.cpp |
bool EnumerateVertexElements
(
int VertexID,
TFunctionRef < bool)> ProcessFunc,
bool bFindUniqueElements
) const
true if at least one valid Element was found, ie if ProcessFunc was called at least one time
Parameters
| Name | Remarks |
|---|---|
| bFindUniqueElements | if true, ProcessFunc is only called once for each ElementID, otherwise it is called once for each Triangle |