Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Returns the material to show in the editor details panel as being used. Skips Nanite Override materials.
Derived Overrides
| Name | GetEditorMaterial |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
UFUNCTION (BlueprintPure, Category="Rendering|Material")
virtual UMaterialInterface * GetEditorMaterial
(
int32 ElementIndex
) const