Interface INodeHierarchyInfo
Provides glTF node hierarchy information.
Namespace: Unity.Cloud.Gltfast
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast", "glTFast", null)]
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). |