Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionRerouteBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionRerouteBase.h |
| Include Path | #include "Materials/MaterialExpressionRerouteBase.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UMaterialExpressionRerouteBase : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionRerouteBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpression * TraceInputsToRealExpression
(
int32& OutputIndex |
Trace through the graph to find the first non Reroute node connected to this input. | Materials/MaterialExpressionRerouteBase.h | |
FExpressionInput TraceInputsToRealInput() |
Materials/MaterialExpressionRerouteBase.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GatherSubstrateMaterialInfo
(
FSubstrateMaterialInfo& SubstrateMaterialInfo, |
Recursively parse nodes outputing Substrate material in order to gather all the possible shading models used in a material graph output a Substrate material. | Materials/MaterialExpressionRerouteBase.h | |
virtual EMaterialValueType GetInputValueType
(
int32 InputIndex |
Materials/MaterialExpressionRerouteBase.h | ||
virtual EMaterialValueType GetOutputValueType
(
int32 OutputIndex |
Materials/MaterialExpressionRerouteBase.h | ||
virtual bool IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | Materials/MaterialExpressionRerouteBase.h | |
virtual bool IsResultSubstrateMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Substrate material. | Materials/MaterialExpressionRerouteBase.h | |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. | Materials/MaterialExpressionRerouteBase.h |
Protected
| 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/MaterialExpressionRerouteBase.h |