Type Alias: PointLight
PointLight =
object
Defined in: modules/lighting/lights/lighting.ts:35
Omnidirectional point light emitted from a world-space position.
Properties
attenuation?
optionalattenuation?:Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:45
Constant, linear, and quadratic attenuation coefficients.
color?
optionalcolor?:Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:41
RGB light color in the existing 0..255 convention used by luma.gl materials.
intensity?
optionalintensity?:number
Defined in: modules/lighting/lights/lighting.ts:43
Scalar intensity multiplier applied to the light color.
position
position:
Readonly<NumberArray3>
Defined in: modules/lighting/lights/lighting.ts:39
World-space light position.
type
type:
"point"
Defined in: modules/lighting/lights/lighting.ts:37
Discriminator used to identify point lights in lights: Light[].