Creates a visual aid for a [page:RectAreaLight].
const light = new THREE.RectAreaLight( 0xffffbb, 1.0, 5, 5 ); const helper = new RectAreaLightHelper( light ); light.add( helper ); // helper must be added as a child of the light
[page:RectAreaLight light] -- The light being visualized.
[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.
Reference to the RectAreaLight being visualized.
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.
Dispose of the rectAreaLightHelper.