Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMesh3
Description
Compute triangle normal, area, and centroid all at once. Re-uses vertex lookups and computes normal & area simultaneously. However does not produce the same normal/area as separate calls, because of this.
| Name | GetTriInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMesh3.h |
| Include Path | #include "DynamicMesh/DynamicMesh3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMesh3_Queries.cpp |
void GetTriInfo
(
int TriangleID,
FVector3d & Normal,
double & Area,
FVector3d & Centroid
) const