Navigation
API > API/Runtime > API/Runtime/Engine
Absolute value material expression for user-defined materials
| Name | UMaterialExpressionReroute |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionReroute.h |
| Include Path | #include "Materials/MaterialExpressionReroute.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, DisplayName="Reroute", MinimalAPI)
class UMaterialExpressionReroute : public UMaterialExpressionRerouteBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionRerouteBase → UMaterialExpressionReroute
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Input | FExpressionInput | Link to the input expression to be evaluated | Materials/MaterialExpressionReroute.h |
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionReroute.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionReroute.h | |
virtual int32 CompilePreview
(
FMaterialCompiler* Compiler, |
Materials/MaterialExpressionReroute.h | ||
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionReroute.h | ||
virtual FText GetCreationDescription() |
Materials/MaterialExpressionReroute.h | ||
virtual FText GetCreationName() |
Materials/MaterialExpressionReroute.h |
Protected
Overridden from UMaterialExpressionRerouteBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetRerouteInput
(
FExpressionInput& OutInput |
Get the reroute node input pin. We could use GetInput, but we'd loose const correctness | Materials/MaterialExpressionReroute.h |