RectAreaLight
RectAreaLight
is a light that emits light from a rectangular plane. It is used to simulate light sources such as bright windows or strip lighting.
Syntax
<RectAreaLight />
Parameters
All objects share the same base parameters from ComponentObjectProps
.
Name | Type | Description |
---|---|---|
color | ColorType | The base color. |
intensity | number | The light's strength. |
width | number | The light's width. |
height | number | The light's height. |
helper | boolean | Show a visual helper. |
Example
<RectAreaLight color="#ff0000" intensity={1} width={3} height={3} />
Available on: Client Server