12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <!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>
- <h1>[name]</h1>
- <p class="desc">
- Dual [page:PerspectiveCamera PerspectiveCamera]s used for effects such as
- [link:https://en.wikipedia.org/wiki/Anaglyph_3D 3D Anaglyph] or [link:https://en.wikipedia.org/wiki/parallax_barrier Parallax Barrier].
- </p>
- <h2>Example</h2>
- <p>[example:webgl_effects_anaglyph effects / anaglyph ]</p>
- <p>[example:webgl_effects_parallaxbarrier effects / parallaxbarrier ]</p>
- <p>[example:webgl_effects_stereo effects / stereo ]</p>
- <p>
- This class is used internally in the files<br /><br />
- [link:https://github.com/mrdoob/three.js/blob/master/examples/js/effects/AnaglyphEffect.js examples/js/effects/AnaglyphEffect.js]<br /><br />
- [link:https://github.com/mrdoob/three.js/blob/master/examples/js/effects/ParallaxBarrierEffect.js examples/js/effects/ParallaxBarrierEffect.js]<br /><br />
- [link:https://github.com/mrdoob/three.js/blob/master/examples/js/effects/StereoEffect.js examples/js/effects/StereoEffect.js]<br /><br />
- used in the above examples.
- </p>
- <h2>Constructor</h2>
- <h3>[name]( )</h3>
- <h2>Properties</h2>
- <h3>[property:Float aspect]</h3>
- <p>Default is *1*.</p>
- <h3>[property:Float eyeSep]</h3>
- <p>Default is *0.064*.</p>
- <h3>[property:PerspectiveCamera cameraL]</h3>
- <p>Left camera. This is added to [page:Layers layer 1] - objects to be rendered
- by the left camera must also be added to this layer.</p>
- <h3>[property:PerspectiveCamera cameraR]</h3>
- <p>Right camera.This is added to [page:Layers layer 2] - objects to be rendered
- by the right camera must also be added to this layer.</p>
- <h2>Methods</h2>
- <h3>[method:null update]( [param:PerspectiveCamera camera] )</h3>
- <p>
- Update the stereo cameras based on the camera passed in.
- </p>
- <h2>Source</h2>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </body>
- </html>
|