FRawMesh::CompactMaterialIndices

Compacts materials by removing any that have no associated triangles.

Windows
MacOS
Linux

References

Module

RawMesh

Header

/Engine/Source/Runtime/RawMesh/Public/RawMesh.h

Include

#include "RawMesh.h"

Source

/Engine/Source/Runtime/RawMesh/Private/RawMesh.cpp

Syntax

void CompactMaterialIndices()

Remarks

Compacts materials by removing any that have no associated triangles. Also updates the material index map.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss