ArrayCamera.html 1.4 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
  14. predefined set of cameras. This is an important performance aspect for
  15. rendering VR scenes.<br />
  16. An instance of [name] always has an array of sub cameras. It's mandatory
  17. to define for each sub camera the `viewport` property which determines the
  18. part of the viewport that is rendered with this camera.
  19. </p>
  20. <h2>Examples</h2>
  21. <p>[example:webgl_camera_array camera / array ]</p>
  22. <h2>Constructor</h2>
  23. <h3>[name]( [param:Array array] )</h3>
  24. <p>An array of cameras.</p>
  25. <h2>Properties</h2>
  26. <p>See the base [page:PerspectiveCamera] class for common properties.</p>
  27. <h3>[property:Array cameras]</h3>
  28. <p>An array of cameras.</p>
  29. <h3>[property:Boolean isArrayCamera]</h3>
  30. <p>Read-only flag to check if a given object is of type [name].</p>
  31. <h2>Methods</h2>
  32. <p>See the base [page:PerspectiveCamera] class for common methods.</p>
  33. <h2>Source</h2>
  34. <p>
  35. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  36. </p>
  37. </body>
  38. </html>