Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h |
Include |
#include "Components/MeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp |
void CleanUpOverrideMaterials()
Make sure the Override array is using only the space it should use.
The override array cannot be bigger then the number of mesh material.
The override array must not end with a nullptr UMaterialInterface.