[page:Object3D] → [page:Line] → [page:LineSegments] →

# [name]

This helps with visualizing what a camera contains in its frustum.
It visualizes the frustum of a camera using a [page:LineSegments].

## Example

[example:webgl_camera WebGL / camera]
[example:webgl_geometry_extrude_splines WebGL / extrude / splines]
`var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 ); var helper = new THREE.CameraHelper( camera ); scene.add( helper );`

## Constructor

### [name]( [param:Camera camera] )

[page:Camera camera] -- The camera to visualize.
This create a new [Name] for the specified camera.

## Properties

See the base [page:LineSegments] class for common properties.

### [property:Camera camera]

The camera being visualized.

### [property:object pointMap]

This contains the points used to visualize the camera.

### [property:object matrix]

Reference to the [page:Object3D.matrixWorld camera.matrixWorld].

### [property:object matrixAutoUpdate]

See [page:Object3D.matrixAutoUpdate]. Set to *false* here as the helper is using the camera's [page:Object3D.matrixWorld matrixWorld].

## Methods

See the base [page:LineSegments] class for common methods.

### [method:null update]()

Updates the helper based on the projectionMatrix of the camera.

## Source

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