Model:getNodeScale

Edit

Returns the scale of a node.



Arguments

NameTypeDefaultDescription
indexnumber The index of the node.
originOriginType'root' Whether the scale should be returned relative to the root node or the node's parent.

Returns

NameTypeDescription
xnumber The x scale.
ynumber The y scale.
znumber The z scale.

Arguments

NameTypeDefaultDescription
namestring The name of the node.
originOriginType'root' Whether the scale should be returned relative to the root node or the node's parent.

Returns

NameTypeDescription
xnumber The x scale.
ynumber The y scale.
znumber The z scale.

See also