Creates a visual aid for a RectAreaLight.
const light = new v3d.RectAreaLight(0xffffbb, 1.0, 5, 5);
const helper = new RectAreaLightHelper(light);
light.add(helper); // helper must be added as a child of the light
See the base Line class for common properties.
Reference to the RectAreaLight being visualized.
The color parameter passed in the constructor. Default is undefined.
See the base Line class for common methods.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
For more info on how to obtain the source code of this module see this page.