setRotation method
Sets absolute rotation angles in degrees, normalized to 0-360 range.
Implementation
void setRotation({double? x, double? y, double? z}) {
update(
rotationX: x != null ? _normalizeAngle(x) : null,
rotationY: y != null ? _normalizeAngle(y) : null,
rotationZ: z != null ? _normalizeAngle(z) : null,
);
}