Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialInstance
- UMaterialInterface::GetRenderProxy()
- UMaterialInstance::GetRenderProxy()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h |
Include | #include "Materials/MaterialInstance.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInstance.cpp |
virtual FMaterialRenderProxy &42; GetRenderProxy&40;&41; const
Remarks
- Return a pointer to the FMaterialRenderProxy used for rendering.
-
only valid in the editor! The resource to use for rendering this material instance.
Parameters
Name | Description |
---|---|
Selected | specify true to return an alternate material used for rendering this material when part of a selection |