Renderer · interface
FieldLight
What the bake reads of a light, which a PointLightSource already carries.
Explained in Hello world.
interface FieldLight extends LightReachimport type { FieldLight } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
rreadonly | number | |
greadonly | number | |
breadonly | number | |
sourceRadiusreadonly | number | The emitter's physical radius, which widens its penumbra. |
falloffExponentreadonlyoptional | number | Its own falloff exponent, overriding the frame's above zero. See pointLightShape. |