Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialLayersFunctionsTree
Description
Gather the path of parent node up to the root from the specified node. First element is the direct parent, second is parent of parent, etc up to the root of the tree, so the last element is always -1. THe size of the returned array is equivalent to the depth. Thus if the specified node's parent is root the return array is 1 element containing -1. If node is invalid, the returned array is empty
| Name | GetParentIds |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialLayersFunctions.h |
| Include Path | #include "Materials/MaterialLayersFunctions.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp |
TArray < FNodeId > GetParentIds
(
FNodeId InNodeId
) const