Interface INodeHierarchyInfo
Provides glTF node hierarchy information.
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
public interface INodeHierarchyInfo
Methods
GetNodeName(int)
Gets the name of the node at the given index.
Declaration
string GetNodeName(int nodeIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | nodeIndex | Node index. |
Returns
| Type | Description |
|---|---|
| string | Node name. |
GetParentIndex(int)
Gets the parent index of the node at the given index.
Declaration
int GetParentIndex(int nodeIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | nodeIndex | Node index. |
Returns
| Type | Description |
|---|---|
| int | Parent node index (negative if node has no parent). |