ModelData:getNodeScale

Returns local scale of a node, relative to its parent.


sx, sy, sz = ModelData:getNodeScale(index)

Arguments

NameTypeDescription
indexnumber The index of the node.

Returns

NameTypeDescription
sxnumber The x scale.
synumber The y scale.
sznumber The z scale.

sx, sy, sz = ModelData:getNodeScale(name)

Arguments

NameTypeDescription
namestring The name of the node.

Returns

NameTypeDescription
sxnumber The x scale.
synumber The y scale.
sznumber The z scale.

See also