Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/FMaterialLayersFunctionsTree
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialLayersFunctions.h |
| Include | #include "Materials/MaterialLayersFunctions.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
int32 GetDepth
(
FNodeId InNodeId
) const
Remarks
Return the depth of the node in the tree, the root is depth 0 the first valid node in the tree under the root is depth 1