Can be used to orient an object based on the mobile device's orientation.
[example:misc_controls_deviceorientation misc / controls / deviceorientation ]
[page:Object3D object]: The object to be controlled.
Creates a new instance of [name].
The alpha offset in radians. Default is *0*.
The current *deviceorientation* event object.
Whether or not the controls are enabled.
The object to be controlled.
The orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation. Default is *0*.
Adds the event listeners of the controls and enables it.
Removes the event listeners of the controls and disables it.
Should be called if the controls is no longer required.
Updates the controls. Usually called in the animation loop.
[link:https://github.com/mrdoob/three.js/blob/master/examples/js/controls/DeviceOrientationControls.js examples/js/controls/DeviceOrientationControls.js]