Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterialExpressionShadingPathSw-
- UMaterialExpression::GatherSubstrateMaterialInfo()
- UMaterialExpressionShadingPathSwitch::GatherSubstrateMaterialInfo()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionShadingPathSwitch.h |
| Include | #include "Materials/MaterialExpressionShadingPathSwitch.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.