Object3D

SpotLightHelper

This displays a cylinder helper object for a SpotLight

Example

View in Examples

Other Examples

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

SpotLightHelper(light)

light -- The SpotLight to display

Properties

.light

The SpotLight

Methods

.update ()

Updates the light helper.

Source

src/extras/helpers/SpotLightHelper.js
Edit