Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialExpressionFunctionInput
Description
A starta material is a tree with FrontMateiral being its root and BSDF being leaves, with operators in the middle. This recursively parse nodes outputing Substrate material in order to gather the maximum distance to any leaves. This is used to drive the bottom up order processing of those nodes.
Virtual Inheritance
- UMaterialExpression::SubstrateGenerateMaterialTopologyTree → UMaterialExpressionFunctionInput::SubstrateGenerateMaterialTopologyTree
| Name | SubstrateGenerateMaterialTopologyTree |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionFunctionInput.h |
| Include Path | #include "Materials/MaterialExpressionFunctionInput.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
class FMaterialCompiler * Compiler,
class UMaterialExpression * Parent,
int32 OutputIndex
)