Rayity

rayity > “material” > MaterialOptions

Interface: MaterialOptions

Properties

«Optional» color

● color: Expression

Defined in material.ts:53

Material color

Default: (1, 1, 1)


«Optional» emissivity

● emissivity: Expression

Defined in material.ts:59

Emission color

Default: (0, 0, 0)


«Optional» refraction

● refraction: Expression

Defined in material.ts:41

Material index of refraction

Default: 1


«Optional» scatter

● scatter: Expression

Defined in material.ts:47

Material’s average scatter distance. 0 to disable

Default: 0


«Optional» smoothness

● smoothness: Expression

Defined in material.ts:35

Material smoothness. 0 to 1

Default: 0


«Optional» transmittance

● transmittance: Expression

Defined in material.ts:29

Material transmittance. 0 to 1

Default: 0