Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMaterialExpressionSubstrateVolu-
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.
Virtual Inheritance
- UMaterialExpression::SubstrateGenerateMaterialTopologyTree → UMaterialExpressionSubstrateVolumetricFogCloudBSDF::SubstrateGenerateMaterialTopologyTree
| Name | SubstrateGenerateMaterialTopologyTree |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSubstrate.h |
| Include Path | #include "Materials/MaterialExpressionSubstrate.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressionSubstrate.cpp |
virtual FSubstrateOperator * SubstrateGenerateMaterialTopologyTree
(
struct FSubstrateTranslatorDataInterface & SubstrateTranslatorData,
class UMaterialExpression * Parent,
int32 OutputIndex
)