Returns local pose (position and orientation) of a node, relative to its parent.
Arguments
Name | Type | Description |
index | number |
The index of the node.
|
Returns
Name | Type | Description |
x | number |
The x coordinate.
|
y | number |
The y coordinate.
|
z | number |
The z coordinate.
|
angle | number |
The number of radians the node is rotated around its axis of rotation.
|
ax | number |
The x component of the axis of rotation.
|
ay | number |
The y component of the axis of rotation.
|
az | number |
The z component of the axis of rotation.
|
Arguments
Name | Type | Description |
name | string |
The name of the node.
|
Returns
Name | Type | Description |
x | number |
The x coordinate.
|
y | number |
The y coordinate.
|
z | number |
The z coordinate.
|
angle | number |
The number of radians the node is rotated around its axis of rotation.
|
ax | number |
The x component of the axis of rotation.
|
ay | number |
The y component of the axis of rotation.
|
az | number |
The z component of the axis of rotation.
|
See also