Skip to content

@orillusion/core


Interface: RectLightDesc ​

Defined in: src/util/RectLightUtil.ts:4

Geometry and radiometry of a rect light, as plain numbers.

Properties ​

center ​

center: V3

Defined in: src/util/RectLightUtil.ts:6

Panel centre.


normal ​

normal: V3

Defined in: src/util/RectLightUtil.ts:8

Unit normal of the emitting face.


up ​

up: V3

Defined in: src/util/RectLightUtil.ts:10

Panel up axis (need not be exactly perpendicular to normal).


width ​

width: number

Defined in: src/util/RectLightUtil.ts:11


height ​

height: number

Defined in: src/util/RectLightUtil.ts:12


color ​

color: V3

Defined in: src/util/RectLightUtil.ts:14

Linear RGB colour.


intensity ​

intensity: number

Defined in: src/util/RectLightUtil.ts:15


range ​

range: number

Defined in: src/util/RectLightUtil.ts:16