浏览代码

add meters to webVRCamera height value documentation

Trevor Baron 7 年之前
父节点
当前提交
a2b379e2fc
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Cameras/VR/babylon.webVRCamera.ts

+ 3 - 3
src/Cameras/VR/babylon.webVRCamera.ts

@@ -114,7 +114,7 @@ module BABYLON {
         rayLength?: number;
 
         /**
-         * To change the default offset from the ground to account for user's height. (default: 1.7)
+         * To change the default offset from the ground to account for user's height in meters. (default: 1.7)
          */
         defaultHeight?: number;
 
@@ -282,8 +282,8 @@ module BABYLON {
         }
 
         /**
-         * Gets the device distance from the ground.
-         * @returns the distance from the vrDevice to ground in device space. If standing matrix is not supported for the vrDevice 0 is returned.
+         * Gets the device distance from the ground in meters.
+         * @returns the distance in meters from the vrDevice to ground in device space. If standing matrix is not supported for the vrDevice 0 is returned.
          */
         public deviceDistanceToRoomGround(): number {
             if (this._standingMatrix && this._defaultHeight === undefined) {