Z.Orientation
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
enum Orientation { LANDSCAPE, PORTRAIT, LANDSCAPEINVERTED, PORTRAITINVERTED }
The orientation of the device. The Zappar platform does not automatically modify the coordinate systems or display of a zap as a result of changes in orientation. Thus it is necessary to use Accelerometer states to modify a zap’s user interface to better suit the device’s current orientation when it changes.
Member List
Section titled “Member List”Member | Description |
---|---|
LANDSCAPE | The default orientation, for devices that have a dominant portrait orientation (such as the iPhone) landscape is defined such that the bottom of the device is on the right hand side. |
PORTRAIT | Rotated 90 degrees clockwise from landscape. |
LANDSCAPEINVERTED | Rotated 180 degrees from landscape. |
PORTRAITINVERTED | Rotated 180 degrees from portrait. |