FMeshNormals::InitializeOverlayToPerVertexNormals

Initialize the given 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 InitializeOverlayToPerVertexNormals
(
    FDynamicMeshNormalOverlay * NormalOverlay,
    bool bUseMeshVertexNormalsIfAvailable
)

Remarks

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

Parameters

Parameter

Description

bUseMeshVertexNormalsIfAvailable

if true and the parent mesh has per-vertex normals, use them instead of calculating new ones

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