Point Light Constructor
Creates a new ThreeJS PointLight.
Description
A light that gets emitted from a single point in all directions. A common use case for this is to replicate the light emitted from a bare lightbulb.
This light can cast shadows
Inputs
- color (Color): (optional) color of the light. Default is white.
- intensity (Number): (optional) numeric value of the light's strength/intensity. Default is 1.
- distance (Number): Maximum range of the light. Default is 0 (no limit).
- decay (Number): The amount the light dims along the distance of the light. Default is 1. For physically correct lighting, set this to 2.
- object3D (object3D)
Outputs
- point light (ThreeJSPointLight)