Method AddNode
AddNode(float3?, quaternion?, float3?, uint[], string)
Adds a node to the glTF
Declaration
public uint AddNode(float3? translation = null, quaternion? rotation = null, float3? scale = null, uint[] children = null, string name = null)
Parameters
| Type | Name | Description |
|---|---|---|
| float3? | translation | Local translation of the node (in Unity-space) |
| quaternion? | rotation | Local rotation of the node (in Unity-space) |
| float3? | scale | Local scale of the node (in Unity-space) |
| uint[] | children | Array of node indices that are parented to this newly created node |
| string | name | Name of the node |
Returns
| Type | Description |
|---|---|
| uint | glTF node index |