Cameras

Overview

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

 

 

Constructor

Camera()

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

Properties

.matrixWorldInverse

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

.projectionMatrix

This is the matrix which contains the projection.

Methods

.lookAt( 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).

Source

src/cameras/Camera.js

Help Documents