Переглянути джерело

Merge pull request #5138 from sebavan/master

Fix doc
sebavan 7 роки тому
батько
коміт
30d80650aa

+ 6 - 6
src/Cameras/VR/babylon.vrDeviceOrientationFreeCamera.ts

@@ -10,12 +10,12 @@ module BABYLON {
     export class VRDeviceOrientationFreeCamera extends DeviceOrientationCamera {
 
         /**
-         * 
-         * @param name 
-         * @param position 
-         * @param scene 
-         * @param compensateDistortion 
-         * @param vrCameraMetrics 
+         * Creates a new VRDeviceOrientationFreeCamera
+         * @param name defines camera name
+         * @param position defines the start position of the camera
+         * @param scene defines the scene the camera belongs to
+         * @param compensateDistortion defines if the camera needs to compensate the lens distorsion
+         * @param vrCameraMetrics defines the vr metrics associated to the camera
          */
         constructor(name: string, position: Vector3, scene: Scene, compensateDistortion = true, vrCameraMetrics: VRCameraMetrics = VRCameraMetrics.GetDefault()) {
             super(name, position, scene);

+ 6 - 6
src/Cameras/VR/babylon.vrDeviceOrientationGamepadCamera.ts

@@ -10,12 +10,12 @@ module BABYLON {
     export class VRDeviceOrientationGamepadCamera extends VRDeviceOrientationFreeCamera {
 
         /**
-         * 
-         * @param name 
-         * @param position 
-         * @param scene 
-         * @param compensateDistortion 
-         * @param vrCameraMetrics 
+         * Creates a new VRDeviceOrientationGamepadCamera
+         * @param name defines camera name
+         * @param position defines the start position of the camera
+         * @param scene defines the scene the camera belongs to
+         * @param compensateDistortion defines if the camera needs to compensate the lens distorsion
+         * @param vrCameraMetrics defines the vr metrics associated to the camera
          */
         constructor(name: string, position: Vector3, scene: Scene, compensateDistortion = true, vrCameraMetrics: VRCameraMetrics = VRCameraMetrics.GetDefault()) {
             super(name, position, scene, compensateDistortion, vrCameraMetrics);