FStaticMeshOperations::ComputeTangentsAndNormals

Recompute any invalid normal, tangent or Bi-Normal for every vertex in the mesh description with the given options.

Windows
MacOS
Linux

References

Module

StaticMeshDescription

Header

/Engine/Source/Runtime/StaticMeshDescription/Public/StaticMeshOperations.h

Include

#include "StaticMeshOperations.h"

Source

/Engine/Source/Runtime/StaticMeshDescription/Private/StaticMeshOperations.cpp

Syntax

static void ComputeTangentsAndNormals
(
    FMeshDescription & MeshDescription,
    EComputeNTBsFlags ComputeNTBsOptions
)

Remarks

Recompute any invalid normal, tangent or Bi-Normal for every vertex in the mesh description with the given options. If the EComputeNTBsFlags Normals or Tangents are set, the corresponding data will be force-recomputed.

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