@motion-script/core / DirectionalLight3D
Interface: DirectionalLight3D
Defined in: render3d/light.ts:58
Parallel rays from an infinitely distant source — sunlight. Only the light's
direction matters, which is the vector from its position to target.
Extends
Properties
color?
optionalcolor?:Color
Defined in: render3d/light.ts:60
intensity?
optionalintensity?:number
Defined in: render3d/light.ts:61
params?
optionalparams?:Record<string,unknown>
Defined in: render3d/geometry.ts:14
Inherited from
shadow?
optionalshadow?:DirectionalLightShadow3D
Defined in: render3d/light.ts:64
target?
optionaltarget?:Vector3Input
Defined in: render3d/light.ts:63
World-space point the light aims at. Default origin.
type
type:
"directional"
Defined in: render3d/light.ts:59