AbstractProtectedconstructorCreates a new AbstractLight.
The configuration options for the light.
The physical bounding volume of the object.
Whether the light casts shadows.
The color of the light.
The intensity of the light.
Whether this object should generate bounds and participate in physics/raycasting. Defaults to true.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalrigidA small offset to prevent shadow acne.
The camera used to render the shadow map for this light.
An offset along the surface normal to prevent shadow acne.
The resolution of the shadow map for this light.
OptionaltagOptional app-defined category tag, for typed identification instead of matching on name.
Abstract ReadonlytypeThe type of the light.
ReadonlyuuidAbstractapplyApplies the light's data to the collective light data structure.
The structure to populate.
Reads this object's position in world space, i.e. after resolving the full parent
chain -- unlike position, which is always local to its immediate parent. Requires
worldMatrix to be current (see updateMatrixWorld()).
Optional vector to write into, to avoid allocating one per call.
Base class for all light types.