瀏覽代碼

Merge pull request #6730 from jasonsturges/errata

Target camera constructor documentation
David Catuhe 6 年之前
父節點
當前提交
5227cf5d85
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Cameras/targetCamera.ts

+ 1 - 1
src/Cameras/targetCamera.ts

@@ -85,7 +85,7 @@ export class TargetCamera extends Camera {
     private _defaultUp = Vector3.Up();
 
     /**
-     * Instantiates a target camera that takes a meshor position as a target and continues to look at it while it moves.
+     * Instantiates a target camera that takes a mesh or position as a target and continues to look at it while it moves.
      * This is the base of the follow, arc rotate cameras and Free camera
      * @see http://doc.babylonjs.com/features/cameras
      * @param name Defines the name of the camera in the scene