ArrayCamera.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:Object3D] &rarr; [page:Camera] &rarr; [page:PerspectiveCamera] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. [name] can be used in order to efficiently render a scene with a predefined set of cameras. This is an important performance aspect for rendering VR scenes.<br />
  14. An instance of [name] always has an array of sub cameras. It's mandatory to define for each sub camera the *viewport* property which determines the part of the viewport that is rendered with this camera.
  15. </p>
  16. <h2>Examples</h2>
  17. <p>[example:webgl_camera_array camera / array ]</p>
  18. <h2>Constructor</h2>
  19. <h3>[name]( [param:Array array] )</h3>
  20. <p>
  21. An array of cameras.
  22. </p>
  23. <h2>Properties</h2>
  24. <p>See the base [page:PerspectiveCamera] class for common properties.</p>
  25. <h3>[property:Array cameras]</h3>
  26. <p>
  27. An array of cameras.
  28. </p>
  29. <h2>Methods</h2>
  30. <p>See the base [page:PerspectiveCamera] class for common methods.</p>
  31. <h2>Source</h2>
  32. <p>
  33. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  34. </p>
  35. </body>
  36. </html>