babylon.camera.d.ts 803 B

12345678910111213141516171819202122232425262728293031
  1. /// <reference path="../babylon.d.ts" />
  2. declare module BABYLON {
  3. class Camera {
  4. name: string;
  5. id: string;
  6. position: Vector3;
  7. _scene: Scene;
  8. constructor(name: string, position: Vector3, scene: Scene);
  9. static PERSPECTIVE_CAMERA: number;
  10. static ORTHOGRAPHIC_CAMERA: number;
  11. fov: number;
  12. orthoLeft: number;
  13. orthoRight: number;
  14. orthoBottom: number;
  15. orthoTop: number;
  16. minZ: number;
  17. maxZ: number;
  18. intertia: number;
  19. mode: number;
  20. attachControl(canvas: HTMLCanvasElement): void;
  21. detachControl(canvas: HTMLCanvasElement): void;
  22. _update();
  23. getViewMatrix(): Matrix;
  24. getProjectionMatrix(): Matrix;
  25. }
  26. }