Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialExpression
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
FMaterialCompiler* Compiler, |
Materials/MaterialExpression.h | ||
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
FSubstrateTranslatorDataInterface& SubstrateTranslatorData, |
A Substrate material is a tree with FrontMaterial being its root and BSDF being leaves, with operators in the middle. | Materials/MaterialExpression.h |
SubstrateGenerateMaterialTopologyTree(class FMaterialCompiler , class UMaterialExpression , int32)
| Name | SubstrateGenerateMaterialTopologyTree |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpression.h |
| Include Path | #include "Materials/MaterialExpression.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
class FMaterialCompiler * Compiler,
class UMaterialExpression * Parent,
int32 OutputIndex
)
SubstrateGenerateMaterialTopologyTree(struct FSubstrateTranslatorDataInterface &, class UMaterialExpression *, int32)
Description
A Substrate material is a tree with FrontMaterial 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.
| Name | SubstrateGenerateMaterialTopologyTree |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpression.h |
| Include Path | #include "Materials/MaterialExpression.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
struct FSubstrateTranslatorDataInterface & SubstrateTranslatorData,
class UMaterialExpression * Parent,
int32 OutputIndex
)