2
0

CameraHelper.html 1.1 KB

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