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 UMaterialExpressionRerouteBase

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...
)

Overridden from UMaterialExpressionRerouteBase

Name Description

Protected function Virtual Const

bool

 

GetRerouteInput

(
    FExpressionInput& OutInput
)

Get the reroute node input pin. We could use GetInput, but we'd loose const correctness

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()

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