SpotLightHelper
new SpotLightHelper(light: SpotLight)THREE equivalent: THREE.SpotLightHelper
Visualizes a SpotLight as an 8-segment wireframe cone sized from the light’s angle and distance.
Methods
Section titled “Methods”| Method | Description |
|---|---|
update(): void |
Syncs position and orientation, and rebuilds the cone geometry from the light’s current angle and distance. |
dispose(): void |
Disposes child geometries. |