Constructor
new HemisphereLightHelper( light : HemisphereLight, size : number, color : number | Color | string )
Constructs a new hemisphere light helper.
| light |
The light to be visualized. |
| size |
The size of the mesh used to visualize the light. Default is |
| color |
The helper's color. If not set, the helper will take the color of the light. |
Properties
.color : number | Color | string
The color parameter passed in the constructor. If not set, the helper will take the color of the light.
.light : HemisphereLight
The light being visualized.
Methods
.dispose()
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
- Overrides: Object3D#dispose
.update()
Updates the helper to match the position and direction of the light being visualized.