Navigation
API > API/Developer > API/Developer/MeshUtilities > API/Developer/MeshUtilities/IMeshUtilities
References
| Module | MeshUtilities |
| Header | /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
| Include | #include "MeshUtilities.h" |
void CalculateMikkTSpaceTangents
&40;
const TArray< FVector3f > & InVertices,
const TArray< uint32 > & InIndices,
const TArray< FVector2f > & InUVs,
const TArray< FVector3f > & InNormals,
bool bIgnoreDegenerateTriangles,
TArray< FVector3f > & OutTangentX,
TArray< FVector3f > & OutTangentY
&41; const
Remarks
Calculates MikkTSpace Tangents for a given set of vertex data with normals provided
Parameters
| Name | Description |
|---|---|
| InVertices | Vertices that make up the mesh |
| InIndices | Indices for the Vertex array |
| InUVs | Texture coordinates (per-index based) |
| InNormals | Normals used for the tangent calculation (must be normalized) |
| bIgnoreDegenerateTriangles | Flag for MikkTSpace to skip degenerate triangles fix-up path |
| OutTangentX | Array to hold calculated Tangents |
| OutTangentY | Array to hold calculated Bitangents |