Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FMeshNormals
Description
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.
| Name | InitializeOverlayRegionToPerVertexNormals |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshNormals.h |
| Include Path | #include "DynamicMesh/MeshNormals.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/MeshNormals.cpp |
static void InitializeOverlayRegionToPerVertexNormals
(
FDynamicMeshNormalOverlay * NormalOverlay,
const TArray < int32 > & Triangles
)