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 CalculateNormals
&40;
const TArray< FVector3f > & InVertices,
const TArray< uint32 > & InIndices,
const TArray< FVector2f > & InUVs,
const TArray< uint32 > & InSmoothingGroupIndices,
const uint32 InTangentOptions,
TArray< FVector3f > & OutNormals
&41; const
Remarks
Calculates Normals for a given set of vertex data
Parameters
| Name | Description |
|---|---|
| InVertices | Vertices that make up the mesh |
| InIndices | Indices for the Vertex array |
| InUVs | Texture coordinates (per-index based) |
| InSmoothingGroupIndices | Smoothing group index (per-face based) |
| InTangentOptions | Flags for Tangent calculation |
| OutNormals | Array to hold calculated normals |