[page:Object3D] →
[name]
This displays a cylinder helper object for a [page:SpotLight]
Example
View in Examples
Other Examples
[example:webgl_lights_spotlights lights / spotlights ]
Code Example
var spotLight = new THREE.SpotLight( 0xffffff );
spotLight.position.set( 10, 10, 10 );
scene.add( spotLight );
var spotLightHelper = new THREE.SpotLightHelper( spotLight );
scene.add( spotLightHelper );
Constructor
[name]([page:SpotLight light])
light -- The [page:SpotLight] to display
Properties
[property:SpotLight light]
The [page:SpotLight]
Methods
[method:null update]()
Updates the light helper.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]