SpotLightHelper

new SpotLightHelper(light: SpotLight)
THREE: THREE.SpotLightHelper

Visualizes a SpotLight as an 8-segment wireframe cone sized from the light's angle and distance.

Methods

MethodDescription
update(): void

Syncs position and orientation, and rebuilds the cone geometry from the light's current angle and distance.

dispose(): void

Disposes child geometries.