Skip to main content

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.

NameTypeDescription
colorColorTypeThe base color.
intensitynumberThe light's strength.
widthnumberThe light's width.
heightnumberThe light's height.
helperbooleanShow a visual helper.

Example

<RectAreaLight color="#ff0000" intensity={1} width={3} height={3} />

Available on: Client Server