Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionRerouteBase
- UMaterialExpressionNamedRerouteBase
- UMaterialExpressionNamedRerouteDeclaration
- UMaterialExpressionNamedRerouteUsage
- UMaterialExpressionReroute
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionRerouteBase.h |
| Include | #include "Materials/MaterialExpressionRerouteBase.h" |
Syntax
class UMaterialExpressionRerouteBase : public UMaterialExpression
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionRerouteBase
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetRerouteInput
(
FExpressionInput& OutInput |
Get the reroute node input pin. We could use GetInput, but we'd loose const correctness | |
| UMaterialExpression * | TraceInputsToRealExpression
(
int32& OutputIndex |
Trace through the graph to find the first non Reroute node connected to this input. | |
| FExpressionInput |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| void | GatherStrataMaterialInfo
(
FStrataMaterialInfo& StrataMaterialInfo, |
Recursively parse nodes outputing strata material in order to gather all the possible shading models used in a material graph output a Strata material. | |
| uint32 | GetInputType
(
int32 InputIndex |
||
| uint32 | GetOutputType
(
int32 OutputIndex |
||
| bool | IsResultMaterialAttributes
(
int32 OutputIndex |
Marks certain expression types as outputting material attributes. | |
| bool | IsResultStrataMaterial
(
int32 OutputIndex |
Marks certain expression types as outputting Strata material. | |
| FStrataOperator * | StrataGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. |