[page:Object3D] →

[name]

Abstract base class for cameras. This class should always be inherited when you build a new camera.

Constructor

[name]()

This constructor sets the following properties to the correct type: matrixWorldInverse and projectionMatrix.

Properties

[property:Matrix4 matrixWorldInverse]

This is the inverse of matrixWorld. MatrixWorld contains the Matrix which has the world transform of the Camera.

[property:Matrix4 projectionMatrix]

This is the matrix which contains the projection.

Methods

[method:Vector3 getWorldDirection]( [page:Vector3 vector] )

vector — (optional)

It returns a vector representing the direction in which the camera is looking, in world space.

[method:null lookAt]( [page:Vector3 vector] )

vector — point to look at

This makes the camera look at the vector position in the global space as long as the parent of this camera is the scene or at position (0,0,0).

[method:Camera clone]( [page:Camera camera] )

camera — camera to clone

It returns a clone of camera.

Source

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