Rayity

rayity > “material” > SpotlightOptions

Interface: SpotlightOptions

Properties

«Optional» ambient

● ambient: Expression

Defined in material.ts:98

Ambiebnt color

Default: (0, 0, 0)


«Optional» color

● color: Expression

Defined in material.ts:86

Light color

Default: (1, 1, 1)


«Optional» direction

● direction: Expression

Defined in material.ts:80

Direction of light

Default: (0, 1, 0)


«Optional» spread

● 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