Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UStaticMeshComponent
- UPrimitiveComponent::GetEditorMaterial()
- UStaticMeshComponent::GetEditorMaterial()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
virtual UMaterialInterface * GetEditorMaterial
(
int32 ElementIndex
) const
Remarks
Returns the material to show in the editor details panel as being used. Skips Nanite Override materials.