FLandscapeSelectMaterialRenderProxy::GetMaterialWithFallback

Finds the [FMaterial](API\Runtime\Engine\FMaterial) to use for rendering this [FMaterialRenderProxy](API\Runtime\Engine\FMaterialRenderProxy).

Windows
MacOS
Linux

Override Hierarchy

FMaterialRenderProxy::GetMaterialWithFallback()

FLandscapeSelectMaterialRenderProxy::GetMaterialWithFallback()

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Public/LandscapeRender.h

Include

#include "LandscapeRender.h"

Syntax

virtual const FMaterial & GetMaterialWithFallback
(
    ERHIFeatureLevel::Type InFeatureLevel,
    const FMaterialRenderProxy *& OutFallbackMaterialRenderProxy
) const

Remarks

Finds the FMaterial to use for rendering this FMaterialRenderProxy. Will fall back to a default material if needed due to a content error, or async compilation. OutFallbackMaterialRenderProxy - if valid, the default material had to be used and OutFallbackMaterialRenderProxy should be used for rendering.

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