Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionGetMaterialAt-
- UMaterialExpression::SubstrateGenerateMaterialTopologyTree()
- UMaterialExpressionGetMaterialAttributes::SubstrateGenerateMaterialTopologyTree()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionGetMaterialAttributes.h |
Include | #include "Materials/MaterialExpressionGetMaterialAttributes.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
class FMaterialCompiler * Compiler,
class UMaterialExpression * Parent,
int32 OutputIndex
)
Remarks
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.