Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/FGeometryScriptMeshSelection
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/GeometryScriptSelectionTypes.h |
| Include | #include "GeometryScript/GeometryScriptSelectionTypes.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/GeometryScriptSelectionTypes.cpp |
void ProcessByVertexID
&40;
const UE::Geometry::FDynamicMesh3 & Mesh,
TFunctionRef< void(int32)> PerVertexFunc,
bool bProcessAllVertsIfSelectionEmpty
&41; const
Remarks
Call PerVertexFunc for each VertexID in the Selection. For Triangle Selections, Triangles Vertex tuples are enumerated and accumulated in a TSet. For PolyGroup Selections, a full mesh iteration is used to find all Triangle Vertices in the groups (accumulated in a TSet)