Learn / Documentation / Script Reference / DetectedOrientation
Manual

DetectedOrientation

enumeration in Doozy.Engine.Orientation

Description

The DetectedOrientation enum describes the physical orientation of the device as determined by the OS. This is a simplified version of the DeviceOrientation enum

Properties

  • Unknown – The orientation of the device cannot be determined

  • Portrait – The device is in portrait mode, with the device held upright and the home button at the bottom (Portrait) – OR – The device is in portrait mode but upside down, with the device held upright and the home button at the top (PortraitUpsideDown)

  • Landscape – The device is in landscape mode, with the device held upright and the home button on the right side (LandscapeLeft) – OR – The device is in landscape mode, with the device held upright and the home button on the left side (LandscapeRight)