CameraHelper.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <h1>[name]</h1>
  11. <div class="desc">
  12. The camera Helper is an Object3D which helps visualizing what a camera contains in its frustum.<br />
  13. It visualizes the frustum with an line Geometry.
  14. </div>
  15. <h2>Constructor</h2>
  16. <h3>[name]([page:Camera camera])</h3>
  17. <div>
  18. camera -- The camera to visualize.
  19. </div>
  20. <div>
  21. This create a new [Name] for the specified camera.
  22. </div>
  23. <h2>Properties</h2>
  24. <h3>.[page:object pointMap]</h3>
  25. <div>
  26. This contains the points to viualize the cameraHelper
  27. </div>
  28. <h3>.[page:Camera camera]</h3>
  29. <div>
  30. The camera to visualize.
  31. </div>
  32. <h2>Methods</h2>
  33. <h3>.update()</h3>
  34. <div>
  35. Updates the helper based on the projectionMatrix of the camera.
  36. </div>
  37. <h2>Source</h2>
  38. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  39. </body>
  40. </html>