Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
- UMaterialInterface::GetRenderProxy()
- UMaterial::GetRenderProxy()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/Material.h |
Include | #include "Materials/Material.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.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 |