소스 검색

Target camera constructor documentation

Update to state: “mesh or position as target”
Jason Sturges 6 년 전
부모
커밋
0e61c87668
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