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
.
Name | Type | Description |
---|---|---|
color | ColorType | The base color. |
intensity | number | The light's strength. |
distance | number | The distance of the light. |
decay | number | The decay of the light. |
helper | boolean | Show a visual helper. |
Example
<PointLight color="#ff0000" intensity={1} distance={10} decay={2} />
Available on: Client Server