Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionSubstrateAdd
- UMaterialExpression::GatherSubstrateMaterialInfo()
- UMaterialExpressionSubstrateAdd::GatherSubstrateMaterialInfo()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSubstrate.h |
| Include | #include "Materials/MaterialExpressionSubstrate.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
virtual void GatherSubstrateMaterialInfo
(
FSubstrateMaterialInfo & SubstrateMaterialInfo,
int32 OutputIndex
)
Remarks
Recursively parse nodes outputing Substrate material in order to gather all the possible shading models used in a material graph output a Substrate material.