소스 검색

fix code comment

David Catuhe 6 년 전
부모
커밋
6e84849ae7
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/Cameras/targetCamera.ts

+ 6 - 1
src/Cameras/targetCamera.ts

@@ -216,7 +216,12 @@ export class TargetCamera extends Camera {
     }
 
     // Target
-    /** @hidden */
+    
+    /**
+     * Defines the target the camera should look at.
+     * This will automatically adapt alpha beta and radius to fit within the new target.
+     * @param target Defines the new target as a Vector or a mesh
+     */
     public setTarget(target: Vector3): void {
         this.upVector.normalize();