Skip to content

Documentation / @ripl/3d / DirectedLightOptions

Interface: DirectedLightOptions ​

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

Options for a light that has an orientation.

Extends ​

Extended by ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
color?stringThe light's colour. Defaults to '#ffffff'.LightOptions.color3d/src/core/lights.ts:42
direction?Vector3The direction the light travels in.-3d/src/core/lights.ts:52
enabled?booleanWhether the light contributes at all. Defaults to true.LightOptions.enabled3d/src/core/lights.ts:46
intensity?numberHow strongly the light contributes. Defaults to 1.LightOptions.intensity3d/src/core/lights.ts:44
space?LightSpaceWhether DirectionalLight.direction is fixed in world space or follows the camera. Defaults to 'world'.-3d/src/core/lights.ts:54