UMaterialExpressionReroute

Absolute value material expression for user-defined materials

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionReroute.h"

Syntax

class UMaterialExpressionReroute : public UMaterialExpression

Remarks

Absolute value material expression for user-defined materials

Variables

Name Description

Public variable

FExpressionInpu...

 

Input

Link to the input expression to be evaluated

Constructors

Name Description

Public function

UMaterialExpressionReroute

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UMaterialExp...

 

TraceInputsToRealExpression

(
    int32& OutputIndex
)

Trace through the graph to find the first non Reroute node connected to this input.

Public function Const

FExpressionI...

 

TraceInputsToRealInput()

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 Const

FText

 

GetCreationDescription()

Public function Virtual Const

FText

 

GetCreationName()

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.

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