PointLight
PointLight(
props):Element|null
A local light that shines all round from a point, three’s PointLight
drawn through the Game’s light pool: every lit program draws the
quality level’s maxPointLights lights, and the pool gives them to the
lights in view nearest the camera’s focus every 0.2 s, fading each in
and out over 0.35 s, so a lamp that mounts compiles nothing. Its ref
holds the light, which a frame moves and writes as it would three’s.
It casts no shadow. A room and a headless world draw none.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
PointLightProps |
Returns
Section titled “Returns”Element | null