Trevor Baron 6 년 전
부모
커밋
cc00cee103
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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) => {