Model:getNodeScale

Edit

Returns the scale of a node.

x, y, z = Model:getNodeScale(node, origin)

Arguments

NameTypeDefaultDescription
nodestring | number The name or index of a 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