FTriangleMesh::GetPointNormals

Get per-point normals. This const version of this function requires `[GetPointToTriangleMap()](API\Runtime\Chaos\Chaos\FTriangleMesh\GetPointToTriangleMap)_ to be called prior to invoking this function.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TriangleMesh.h

Include

#include "Chaos/TriangleMesh.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/TriangleMesh.cpp

Syntax

void GetPointNormals
(
    TArrayView< FVec3 > PointNormals,
    const TConstArrayView< FVec3 > & FaceNormals,
    const bool bUseGlobalArray
) const

Remarks

Get per-point normals. This const version of this function requires `GetPointToTriangleMap()_ to be called prior to invoking this function.

Parameters

Parameter

Description

bUseGlobalArray

When true, fill the array from the StartIdx to StartIdx + NumIndices - 1 positions, otherwise fill the array from the 0 to NumIndices - 1 positions.

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