element.rotation: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{ScriptItem
{{ScriptItem
|endpoint = server
|endpoint = shared
|type = method
|type = method
|class = Element
|class = Element

Revision as of 19:37, 26 December 2021

setRotation

Signature: void setRotation(Vec3 rotation)

Usage: set the 3D rotation for the element, in XYZ euler angles

Parameters

Vec3 rotation The euler XYZ rotation angles.

Return

void

On failure: void