Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMeshComponent
Description
Get all default LOD sections overlay materials used by a mesh.
The implementer must add all LOD sections and set them to null if there is no value. We need all sections in case they are all active we wont add the global mesh MaterialOverlay in GetUseMaterials or GetMaterialRelevance.
Virtual Inheritance
- UMeshComponent::GetDefaultMaterialSlotsOverlayMaterial → UStaticMeshComponent::GetDefaultMaterialSlotsOverlayMaterial
| Name | GetDefaultMaterialSlotsOverlayMaterial |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include Path | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
virtual void GetDefaultMaterialSlotsOverlayMaterial
(
TArray < TObjectPtr < UMaterialInterface > > & OutMaterialSlotOverlayMaterials
) const