rayity > “material” > SpotlightOptions
● ambient: Expression
Defined in material.ts:98
Ambiebnt color
Default: (0, 0, 0)
● color: Expression
Defined in material.ts:86
Light color
Default: (1, 1, 1)
● direction: Expression
Defined in material.ts:80
Direction of light
Default: (0, 1, 0)
● spread: Expression
Defined in material.ts:92
Spread factor that specifies light hardness. 0 for hard light (sharp shadows), 1 for ambient light only
Default: 0.5