Interface: DirectionalLightOptions
Defined in: core/Lighting.ts:16
Options for configuring a directional light.
Properties
castShadow?
optionalcastShadow:boolean
Defined in: core/Lighting.ts:24
Whether the light casts shadows. Defaults to false.
color?
optionalcolor:string
Defined in: core/Lighting.ts:18
Light color. Defaults to '#ffffff'.
intensity?
optionalintensity:number
Defined in: core/Lighting.ts:20
Light intensity. Defaults to 1.
position?
optionalposition: [number,number,number]
Defined in: core/Lighting.ts:22
Light position [x, y, z]. Defaults to [5, 10, 7].