CameraHelper.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../../list.js"></script>
  6. <script src="../../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../../page.css" />
  8. </head>
  9. <body>
  10. [page:Line] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">
  13. The camera Helper is an Object3D which helps visualizing what a camera contains in its frustum.<br />
  14. It visualizes the frustum with an line Geometry.
  15. </div>
  16. <h2>Constructor</h2>
  17. <h3>[name]([page:Camera camera])</h3>
  18. <div>
  19. camera -- The camera to visualize.
  20. </div>
  21. <div>
  22. This create a new [Name] for the specified camera.
  23. </div>
  24. <h2>Properties</h2>
  25. <h3>[property:object pointMap]</h3>
  26. <div>
  27. This contains the points to viualize the cameraHelper
  28. </div>
  29. <h3>[property:Camera camera]</h3>
  30. <div>
  31. The camera to visualize.
  32. </div>
  33. <h2>Methods</h2>
  34. <h3>[method:todo update]()</h3>
  35. <div>
  36. Updates the helper based on the projectionMatrix of the camera.
  37. </div>
  38. <h2>Source</h2>
  39. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  40. </body>
  41. </html>