Interface administrators, moderator
2,603
edits
m (Mex moved page Transformable.setRotation to transformable.setRotation) |
No edit summary |
||
Line 2: | Line 2: | ||
|endpoint = server | |endpoint = server | ||
|type = method | |type = method | ||
|class = | |class = Element | ||
|name = setRotation | |name = setRotation | ||
|parameters = Vec3 rotation | |parameters = Vec3 rotation | ||
Line 8: | Line 8: | ||
|returnTypes = void | |returnTypes = void | ||
|returnFail1 = void | |returnFail1 = void | ||
|usage = set the 3D rotation for the | |usage = set the 3D rotation for the element, in XYZ euler angles | ||
|notes = This function is computationally expensive, use [[Entity.heading|Entity.heading]] instead if you only need to set the Z rotation. | |notes = This function is computationally expensive, use [[Entity.heading|Entity.heading]] instead if you only need to set the Z rotation. | ||
}} | }} |