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 GetVertexWeightsOnTriangle
(
const TriangleMeshType & Mesh,
int TriID,
double TriArea,
bool bWeightByArea,
bool bWeightByAngle
)
Remarks
Retrieve the area and/or angle weights for each vertex of a triangle.
Parameters
| Name | Description |
|---|---|
| Mesh | the mesh to query |
| TriID | the triangle index of the mesh to query |
| TriArea | the area of the triangle |
| bWeightByArea | if true, include weighting by the area of the triangle |
| bWeightByAngle | if true, include weighting by the interior angles of the triangle |