set method
x
- the angle of the x axis in radians.
y
- the angle of the y axis in radians.
z
- the angle of the z axis in radians.
order
- (optional) a string representing the order that the
rotations are applied.
Sets the angles of this euler transform and optionally the order
.
Implementation
Euler set(double x, double y, double z, [RotationOrders? order]) {
_x = x;
_y = y;
_z = z;
_order = order ?? _order;
onChangeCallback();
return this;
}