GetTransformedScale
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | Returns the transformed scale (global coordinates) of the object according to it's current matrix | + | {{lua-function|getTransformedScale|object}} |
+ | |||
+ | Returns the transformed scale (global coordinates) of the object according to it's current matrix (useful if the object is linked to other objects). | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
pos = getTransformedScale(object) | pos = getTransformedScale(object) | ||
Line 5: | Line 9: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
[[Category:Lua function]] | [[Category:Lua function]] | ||
− | [[Category: | + | [[Category:Transformation]] |
Latest revision as of 00:19, 9 February 2014
getTransformedScale(object)
Returns the transformed scale (global coordinates) of the object according to it's current matrix (useful if the object is linked to other objects).
-
object
: object to operate on
pos = getTransformedScale(object)