ArrayCamera.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. <h3>[property:Boolean isArrayCamera]</h3>
  30. <p>
  31. Read-only flag to check if a given object is of type [name].
  32. </p>
  33. <h2>Methods</h2>
  34. <p>See the base [page:PerspectiveCamera] class for common methods.</p>
  35. <h2>Source</h2>
  36. <p>
  37. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  38. </p>
  39. </body>
  40. </html>