Method CreateNode
CreateNode(uint, uint?, Vector3, Quaternion, Vector3)
Called for every Node in the glTF file
Declaration
void CreateNode(uint nodeIndex, uint? parentIndex, Vector3 position, Quaternion rotation, Vector3 scale)
Parameters
Type | Name | Description |
---|---|---|
uint | nodeIndex | Index of node. Serves as identifier. |
uint? | parentIndex | Index of the parent's node. If it's null, the node's a root-level node |
Vector3 | position | Node's local position in hierarchy |
Quaternion | rotation | Node's local rotation in hierarchy |
Vector3 | scale | Node's local scale in hierarchy |