Constructor
Camera with orthographic projection
Part of scene graph
Inherits from Object3D() Camera()
Arguments: |
|
---|
Attributes
Camera frustum left plane
Camera frustum right plane
Camera frustum top plane
Camera frustum bottom plane
Camera frustum near plane
Camera frustum far plane
Method
Updates camera’s projection matrix. Must be called after change of parameters.
Example
var camera = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, 1, 1000 );
scene.add( camera );