Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialInterface
Description
- Return a pointer to the FMaterialRenderProxy used for rendering.
-
only valid in the editor!
Derived Overrides
| Name | GetRenderProxy |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInterface.h |
| Include Path | #include "Materials/MaterialInterface.h" |
virtual FMaterialRenderProxy * GetRenderProxy() const
The resource to use for rendering this material instance.
Parameters
| Name | Remarks |
|---|---|
| Selected | specify true to return an alternate material used for rendering this material when part of a selection |