Skip to content

Documentation / @ripl/3d / LightOptions

Interface: LightOptions ​

Defined in: 3d/src/core/lights.ts:40

Options shared by every light.

Extended by ​

Properties ​

PropertyTypeDescriptionDefined in
color?stringThe light's colour. Defaults to '#ffffff'.3d/src/core/lights.ts:42
enabled?booleanWhether the light contributes at all. Defaults to true.3d/src/core/lights.ts:46
intensity?numberHow strongly the light contributes. Defaults to 1.3d/src/core/lights.ts:44