FColoredMaterialRenderProxy

An material render proxy which overrides the material's Color vector parameter.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

class FColoredMaterialRenderProxy : public FMaterialRenderProxy

Remarks

An material render proxy which overrides the material's Color vector parameter.

Variables

Name Description

Public variable

const FLinearCo...

 

Color

Public variable

FName

 

ColorParamName

Public variable

const FMaterial...

 

Parent

Constructors

Name Description

Public function

FColoredMaterialRenderProxy

(
    const FMaterialRenderProxy* In...,
    const FLinearColor& InColor,
    FName InColorParamName
)

Initialization constructor.

Overridden from FMaterialRenderProxy

Name Description

Public function Virtual Const

const FMater...

 

GetMaterialWithFallback

(
    ERHIFeatureLevel::Type InFeatureLev...,
    const FMaterialRenderProxy*& O...
)

Finds the FMaterial to use for rendering this FMaterialRenderProxy.

Public function Virtual Const

bool

 

GetScalarValue

(
    const FHashedMaterialParameterInfo ...,
    float* OutValue,
    const FMaterialRenderContext& Cont...
)

Public function Virtual Const

bool

 

GetTextureValue

(
    const FHashedMaterialParameterInfo ...,
    const UTexture** OutValue,
    const FMaterialRenderContext& Cont...
)

Public function Virtual Const

bool

 

GetTextureValue

(
    const FHashedMaterialParameterInfo ...,
    const URuntimeVirtualTexture*&...,
    const FMaterialRenderContext& Cont...
)

Public function Virtual Const

bool

 

GetVectorValue

(
    const FHashedMaterialParameterInfo ...,
    FLinearColor* OutValue,
    const FMaterialRenderContext& Cont...
)

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