Navigation
API > API/Runtime > API/Runtime/StaticMeshDescription > API/Runtime/StaticMeshDescription/FStaticMeshOperations
Description
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.
| Name | ComputeTangentsAndNormals |
| Type | function |
| Header File | /Engine/Source/Runtime/StaticMeshDescription/Public/StaticMeshOperations.h |
| Include Path | #include "StaticMeshOperations.h" |
| Source | /Engine/Source/Runtime/StaticMeshDescription/Private/StaticMeshOperations.cpp |
static void ComputeTangentsAndNormals
(
FMeshDescription & MeshDescription,
EComputeNTBsFlags ComputeNTBsOptions
)