Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStaticMeshComponent
Description
Returns the material to show in the editor details panel as being used. Skips Nanite Override materials.
Virtual Inheritance
- UPrimitiveComponent::GetEditorMaterial → UStaticMeshComponent::GetEditorMaterial
| Name | GetEditorMaterial |
| 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 UMaterialInterface * GetEditorMaterial
(
int32 ElementIndex
) const