|
@@ -0,0 +1,47 @@
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
+<html lang="en">
|
|
|
|
+ <head>
|
|
|
|
+ <meta charset="utf-8" />
|
|
|
|
+ <base href="../../" />
|
|
|
|
+ <script src="list.js"></script>
|
|
|
|
+ <script src="page.js"></script>
|
|
|
|
+ <link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
|
+ </head>
|
|
|
|
+ <body>
|
|
|
|
+ [page:PerspectiveCamera] →
|
|
|
|
+
|
|
|
|
+ <h1>[name]</h1>
|
|
|
|
+
|
|
|
|
+ <div class="desc">
|
|
|
|
+ [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 />
|
|
|
|
+ Each instance of [name] has an array of sub cameras. It's mandatory to define for each sub camera the *bounds* property which determines the part of the viewport that is rendered with this camera.
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <h2>Example</h2>
|
|
|
|
+
|
|
|
|
+ <div>[example:webgl_camera_array camera / array ]</div>
|
|
|
|
+
|
|
|
|
+ <h2>Constructor</h2>
|
|
|
|
+
|
|
|
|
+ <h3>[name]( [param:Array array] )</h3>
|
|
|
|
+ <div>
|
|
|
|
+ An array of cameras.
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <h2>Properties</h2>
|
|
|
|
+ <div>See the base [page:PerspectiveCamera] class for common properties.</div>
|
|
|
|
+
|
|
|
|
+ <h3>[property:Array cameras]</h3>
|
|
|
|
+ <div>
|
|
|
|
+ An array of cameras.
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <h2>Methods</h2>
|
|
|
|
+ <div>See the base [page:PerspectiveCamera] class for common methods.</div>
|
|
|
|
+
|
|
|
|
+ <h2>Source</h2>
|
|
|
|
+
|
|
|
|
+ [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
|
+ </body>
|
|
|
|
+</html>
|