[page:Object3D] →


Creates a visual aid consisting of a spherical [page:Mesh] for a [page:HemisphereLight HemisphereLight].

Code Example

const light = new THREE.HemisphereLight( 0xffffbb, 0x080820, 1 ); const helper = new THREE.HemisphereLightHelper( light, 5 ); scene.add( helper );


[name]( [param:HemisphereLight light], [param:Number sphereSize], [param:Hex color] )

[page:HemisphereLight light] -- The light being visualized.

[page:Number size] -- The size of the mesh used to visualize the light.

[page:Hex color] -- (optional) if this is not the set the helper will take the color of the light.


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

[property:HemisphereLight light]

Reference to the HemisphereLight being visualized.

[property:Object matrix]

Reference to the hemisphereLight's [page:Object3D.matrixWorld matrixWorld].

[property:Object matrixAutoUpdate]

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

[property:hex color]

The color parameter passed in the constructor. Default is *undefined*. If this is changed, the helper's color will update the next time [page:.update update] is called.


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

[method:null dispose]()

Dispose of the hemisphereLightHelper.

[method:null update]()

Updates the helper to match the position and direction of the [page:.light].


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