The angle of the x axis in radians. Default is 0.
The angle of the y axis in radians. Default is 0.
The angle of the z axis in radians. Default is 0.
A string representing the order that the rotations are applied, defaults to 'XYZ' (must be upper case).
The order in which to apply rotations. Default is 'XYZ', which means that the object will first be rotated around its X axis, then its Y axis and finally its Z axis. Other possibilities are: 'YZX', 'ZXY', 'XZY', 'YXZ' and 'ZYX'. These must be in upper case. Three.js uses intrinsic Tait-Bryan angles. This means that rotations are performed with respect to the local coordinate system. That is, for order 'XYZ', the rotation is first around the local-Xt axis (which is the same as the world-X axis), then around local-Y (which may now be different from the world Y-axis), then local-Z (which may be different from the world Z-axis).
The angle of the x axis in radians. Default is 0.
The angle of the y axis in radians. Default is 0.
The angle of the z axis in radians. Default is 0.
Sets the angles of this euler transform and optionally the .order.
The angle of the x axis in radians.
The angle of the y axis in radians.
The angle of the z axis in radians.
A string representing the order that the rotations are applied.
Sets the angles of this euler transform from a normalized quaternion based on the orientation specified by .order.
A normalized quaternion.
A string representing the order that the rotations are applied.
Sets the angles of this euler transform from a pure rotation matrix based on the orientation specified by order.
A Matrix4 of which the upper 3x3 of matrix is a pure rotation matrix (i.e. unscaled).
A string representing the order that the rotations are applied.
array to store the euler in.
offset in the array.
Returns an array of the form [.x, .y, .z, .order].
Generated using TypeDoc
A class representing Euler Angles. Euler angles describe a rotational transformation by rotating an object on its various axes in specified amounts per axis, and a specified axis order. See the ngx3js docs page for details.
Examples
css3d / orthographic webgl / custom / attributes / points3 webgl / decals webgl / instancing / performance webgl / interactive / cubes / gpu
Code Example