Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TMeshTangents
Description
Calculate per-triangle tangent spaces based on the given per-triangle normal and UV overlays. In this mode there is no averaging of tangents across triangles. So if we have N triangles in the mesh, then 3*N tangents are generated. These tangents are computed in parallel.
| Name | ComputeTriVertexTangents |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshTangents.h |
| Include Path | #include "DynamicMesh/MeshTangents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/MeshTangents.cpp |
void ComputeTriVertexTangents
(
const FDynamicMeshNormalOverlay * NormalOverlay,
const FDynamicMeshUVOverlay * UVOverlay,
const FComputeTangentsOptions & Options
)