[page:Object3D] → [page:Camera] →

[name]

Camera with orthographic projection.

Example

var camera = new THREE.OrthographicCamera( width / - 2, width / 2, height / 2, height / - 2, 1, 1000 ); scene.add( camera );

Constructor

[name]( [page:Float left], [page:Float right], [page:Float top], [page:Float bottom], [page:Float near], [page:Float far] )

left — Camera frustum left plane.
right — Camera frustum right plane.
top — Camera frustum top plane.
bottom — Camera frustum bottom plane.
near — Camera frustum near plane.
far — Camera frustum far plane.

Properties

[property:Float left]

Camera frustum left plane.

[property:Float right]

Camera frustum right plane.

[property:Float top]

Camera frustum top plane.

[property:Float bottom]

Camera frustum bottom plane.

[property:Float near]

Camera frustum near plane.

[property:Float far]

Camera frustum far plane.

Methods

[method:null updateProjectionMatrix]()

Updates the camera projection matrix. Must be called after change of parameters.

Source

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