DeviceOrientationControls constructor

DeviceOrientationControls(
  1. Camera object,
  2. GlobalKey<PeripheralsState> listenableKey
)

Implementation

DeviceOrientationControls(this.object, this.listenableKey):super(){
  connect();
  object.rotation.reorder(RotationOrders.yxz);
}