Skip to main content

PointLight

PointLight is a light that emits light in all directions from a single point.

Syntax

<PointLight />

Parameters

All objects share the same base parameters from ComponentObjectProps.

NameTypeDescription
colorColorTypeThe base color.
intensitynumberThe light's strength.
distancenumberThe distance of the light.
decaynumberThe decay of the light.
helperbooleanShow a visual helper.

Example

<PointLight color="#ff0000" intensity={1} distance={10} decay={2} />

Available on: Client Server