[page:Object3D] →

[name]

Creates a visual aid for a [page:RectAreaLight].

Example

var light = new THREE.RectAreaLight( 0xffffbb, 1.0, 5, 5 ); var helper = new THREE.RectAreaLightHelper( light ); scene.add( helper );

Constructor

[name]( [page:HemisphereLight light] )

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

Properties

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

[property:HemisphereLight light]

Reference to the RectAreaLight being visualized.

[property:Mesh lightMat]

[page:MeshBasicMaterial] used to visualize the light. This be be rendered the same color as the [page:.light]

[property:Mesh lightMesh]

[page:Mesh] used to visualize the light. Used to show the front (light-emitting side) of the light.

[property:Mesh lightShape]

[page:ShapeGeometry] used to create the mesh's that visualize the light.

[property:Mesh lightWireMat]

[page:MeshBasicMaterial] used to visualize the light's outline. This be be rendered the same color as the [page:.light]

[property:Mesh lightWireMesh]

[page:Mesh] used to visualize the light's outline. Used to show the back (non light-emitting side) of the light.

Methods

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

[method:null dispose]()

Dispose of the rectAreaLightHelper.

[method:null update]()

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

Source

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