OrientationSource

type OrientationSource = "interface" | "device"

Represents the source of a CameraOrientation.

  • 'interface': Uses the UI's orientation for setting output CameraOrientation. If screen lock lock is on, the output orientation will also be locked to the screen's orientation.
  • 'device': Uses the physical device's orientation for setting output CameraOrientation. Even if orientation lock is on, orientation will change when the device physically rotates.

On this page

No Headings