[page:Mesh] →

[name]

This displays a helper object for a [page:PointLight]

Example

var pointLight = new THREE.PointLight( 0xff0000, 1, 100 ); pointLight.position.set( 10, 10, 10 ); scene.add( pointLight ); var sphereSize = 1; var pointLightHelper = new THREE.PointLightHelper( pointLight, sphereSize ); scene.add( pointLightHelper ); [example:webgl_helpers Example using various helpers]

Constructor

[name]([page:PointLight light], [page:Float sphereSize])

light -- The [page:PointLight] to display.
sphereSize -- The size of the sphere helper

Properties

[property:PointLight light]

The [page:PointLight] that is being represented.

Methods

[method:null update]()

Updates the light helper.

Source

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