Trevor Baron %!s(int64=6) %!d(string=hai) anos
pai
achega
cc00cee103
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Cameras/Inputs/freeCameraDeviceOrientationInput.ts

+ 1 - 0
src/Cameras/Inputs/freeCameraDeviceOrientationInput.ts

@@ -54,6 +54,7 @@ export class FreeCameraDeviceOrientationInput implements ICameraInput<FreeCamera
     /**
      * Can be used to detect if a device orientation sensor is availible on a device
      * @param timeout amount of time in milliseconds to wait for a response from the sensor (default: infinite)
+     * @returns a promise that will resolve on orientation change
      */
     public static WaitForOrientationChangeAsync(timeout?: number) {
         return new Promise((res, rej) => {