UMaterial::GetRenderProxy

Return a pointer to the [FMaterialRenderProxy](API\Runtime\Engine\FMaterialRenderProxy) used for rendering.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual FMaterialRenderProxy * GetRenderProxy() const

Remarks

Return a pointer to the FMaterialRenderProxy used for rendering.

Returns

The resource to use for rendering this material instance.

Parameters

Parameter

Description

Selected

specify true to return an alternate material used for rendering this material when part of a selection @note only valid in the editor!

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss