FMeshNormals::InitializeOverlayRegionToPerVertexNormals

Initialize the given triangles of NormalOverlay with per-vertex normals, ie single overlay element for each mesh vertex.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshNormals.h

Include

#include "MeshNormals.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshNormals.cpp

Syntax

static void InitializeOverlayRegionToPerVertexNormals
(
    FDynamicMeshNormalOverlay * NormalOverlay,
    const TArray< int32 > & Triangles
)

Remarks

Initialize the given triangles of NormalOverlay with per-vertex normals, ie single overlay element for each mesh vertex. Only the triangles included in the region are considered when calculating per-vertex normals.

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