registerLocalLight
registerLocalLight(
world,options):Disposer
Lights options from the world’s pool of local lights until the returned
call takes it off, whenever it is among the lights that light the view
most. The pool reads the record each frame, so write its position to
move it, and its other values to change it. A room keeps the
registration and lights nothing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
options |
LocalLightOptions |