Model:getNodeScale
EditReturns the scale of a node.
Arguments
Name | Type | Default | Description |
index | number | The index of the node. | |
origin | OriginType | 'root' | Whether the scale should be returned relative to the root node or the node's parent. |
Returns
Name | Type | Description |
x | number | The x scale. |
y | number | The y scale. |
z | number | The z scale. |
Arguments
Name | Type | Default | Description |
name | string | The name of the node. | |
origin | OriginType | 'root' | Whether the scale should be returned relative to the root node or the node's parent. |
Returns
Name | Type | Description |
x | number | The x scale. |
y | number | The y scale. |
z | number | The z scale. |