Quaternion.Eulerstatic function Euler (x : float, y : float, z : float) : QuaternionDescriptionReturns a rotation that rotates z degrees around the z axis, x degrees around the x axis, and y degrees around the y axis (in that order).
JavaScript
// A rotation 30 degrees around the y-axis using UnityEngine; import UnityEngine static function Euler (euler : Vector3) : QuaternionDescriptionReturns a rotation that rotates z degrees around the z axis, x degrees around the x axis, and y degrees around the y axis (in that order).
JavaScript
// A rotation 30 degrees around the y-axis using UnityEngine; import UnityEngine |
