Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialInstance
Description
- Return a pointer to the FMaterialRenderProxy used for rendering.
-
only valid in the editor!
Virtual Inheritance
- UMaterialInterface::GetRenderProxy → UMaterialInstance::GetRenderProxy
| Name | GetRenderProxy |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialInstance.h |
| Include Path | #include "Materials/MaterialInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInstance.cpp |
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 |