Euler
Euler angles representing a rotation. Components are in radians.
Setting any component triggers an internal change callback (used to sync with Quaternion on Object3D).
Constructor
const e = new Euler(x, y, z, order) // defaults to (0, 0, 0, 'XYZ')
Properties
x,y,z— Rotation angles in radiansorder— Rotation order string (e.g.'XYZ','YXZ','ZXY', etc.)isEuler— Type flag (true)
Static
Euler.DEFAULT_ORDER—'XYZ'
Methods
set(x, y, z, order?)— Set componentscopy(euler)— Copy from another Eulerclone()— Return a copysetFromRotationMatrix(m, order?, update?)— From 4x4 rotation matrixsetFromQuaternion(q, order?, update?)— From quaternionsetFromVector3(v, order?)— From vector (x, y, z)reorder(newOrder)— Change order (discards revolution info)equals(euler)— Equality testfromArray(array)— Set from array[x, y, z, order?]toArray(array?, offset?)— Write to array