Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TMeshQueries
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/MeshQueries.h |
| Include | #include "MeshQueries.h" |
static FVector3d GetTriCentroid
&40;
const TriangleMeshType & Mesh,
int TriIdx
&41;
Remarks
Compute triangle centroid Computed centroid
Parameters
| Name | Description |
|---|---|
| Mesh | Mesh with triangle |
| TriIdx | Index of triangle |