Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMeshComponent
Description
Make sure the MaterialSlotsOverlayMaterial is using only the space it should use.
- The data should be only on existing mesh material slot.
| Name | CleanUpMaterialSlotsOverlayMaterial |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h |
| Include Path | #include "Components/MeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp |
void CleanUpMaterialSlotsOverlayMaterial()