This function can be used to get the position, scale and rotation of an item model, providing that the model has a simple transformation matrix (e.
g. set with set_simple_transform, or using a combination of simple translate, scale and rotate operations). If the model has a complex transformation matrix the results will be incorrect.
this |
an item model. |
x |
returns the x coordinate of the origin of the model's coordinate space. |
y |
returns the y coordinate of the origin of the model's coordinate space. |
scale |
returns the scale of the model. |
rotation |
returns the clockwise rotation of the model, in degrees (0-360). |
true if a transform is set. |