DeviceOrientationControls constructor
DeviceOrientationControls(
- Camera object,
- GlobalKey<
PeripheralsState> listenableKey
Implementation
DeviceOrientationControls(this.object, this.listenableKey):super(){
connect();
object.rotation.reorder(RotationOrders.yxz);
}