UMaterialExpressionPathTracingQualitySwitch

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialExpression

UMaterialExpressionPathTracingQualitySwitch

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionPathTracingQualitySwitch.h

Include

#include "Materials/MaterialExpressionPathTracingQualitySwitch.h"

Syntax

class UMaterialExpressionPathTracingQualitySwitch : public UMaterialExpression

Variables

Name Description

Public variable

FExpressionInpu...

 

Normal

Used for non-path traced modes

Public variable

FExpressionInpu...

 

PathTraced

Used by the path tracer

Constructors

Name Description

Public function

UMaterialExpressionPathTracingQualitySwitch

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual

uint32

 

GetOutputType

(
    int32 OutputIndex
)

Public function Virtual

bool

 

IsResultMaterialAttributes

(
    int32 OutputIndex
)

Marks certain expression types as outputting material attributes.