Navigation
API > API/Runtime > API/Runtime/RawMesh > API/Runtime/RawMesh/FRawMesh
Description
Compacts materials by removing any that have no associated triangles. Also updates the material index map.
| Name | CompactMaterialIndices |
| Type | function |
| Header File | /Engine/Source/Runtime/RawMesh/Public/RawMesh.h |
| Include Path | #include "RawMesh.h" |
| Source | /Engine/Source/Runtime/RawMesh/Private/RawMesh.cpp |
void CompactMaterialIndices()