Creates a visual aid consisting of a spherical Mesh for a HemisphereLight.


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


HemisphereLightHelper(light : HemisphereLight, sphereSize : Number, color : Hex)

light -- The light being visualized.

size -- The size of the mesh used to visualize the light.

color -- (optional) if this is not the set the helper will take the color of the light.


See the base Object3D class for common properties.

.light : HemisphereLight

Reference to the HemisphereLight being visualized.

.matrix : object

Reference to the hemisphereLight's matrixWorld.

.matrixAutoUpdate : object

See Object3D.matrixAutoUpdate. Set to false here as the helper is using the hemisphereLight's matrixWorld.

.color : hex

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


See the base Object3D class for common methods.

.dispose () : null

Dispose of the hemisphereLightHelper.

.update () : null

Updates the helper to match the position and direction of the .light.


For more info on how to obtain the source code of this module see this page.