setOrientation method

  1. @override
void setOrientation(
  1. double yaw,
  2. double pitch
)
override

Sets the absolute gaze angles in radians.

Implementation

@override
void setOrientation(double yaw, double pitch) {
  _yaw = yaw;
  _pitch = pitch.clamp(-1.45, 1.45); // Clamped to ±83°
  _applyOrientation();
}