TMeshQueries::GetTriCentroid

Compute triangle centroid

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MeshQueries.h

Include

#include "MeshQueries.h"

Syntax

static FVector3d GetTriCentroid
(
    const TriangleMeshType & Mesh,
    int TriIdx
)

Remarks

Compute triangle centroid

Returns

Computed centroid

Parameters

Parameter

Description

Mesh

Mesh with triangle

TriIdx

Index of triangle

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss