# [name]

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].

## Example

[example:webgl_effects_anaglyph effects / anaglyph ]

[example:webgl_effects_parallaxbarrier effects / parallaxbarrier ]

[example:webgl_effects_stereo effects / stereo ]

This class is used internally in the files
[link:https://github.com/mrdoob/three.js/blob/master/examples/js/effects/AnaglyphEffect.js examples/js/effects/AnaglyphEffect.js]
[link:https://github.com/mrdoob/three.js/blob/master/examples/js/effects/ParallaxBarrierEffect.js examples/js/effects/ParallaxBarrierEffect.js]
[link:https://github.com/mrdoob/three.js/blob/master/examples/js/effects/StereoEffect.js examples/js/effects/StereoEffect.js]
used in the above examples.

## Constructor

### [name]( )

## Properties

### [property:Float aspect]

Default is *1*.

### [property:Float eyeSep]

Default is *0.064*.

### [property:PerspectiveCamera cameraL]

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.

### [property:PerspectiveCamera cameraR]

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.

## Methods

### [method:null update]( [param:PerspectiveCamera camera] )

Update the stereo cameras based on the camera passed in.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]