rayity > “material” > MaterialOptions
● color: Expression
Defined in material.ts:53
Material color
Default: (1, 1, 1)
● emissivity: Expression
Defined in material.ts:59
Emission color
Default: (0, 0, 0)
● refraction: Expression
Defined in material.ts:41
Material index of refraction
Default: 1
● scatter: Expression
Defined in material.ts:47
Material’s average scatter distance. 0 to disable
Default: 0
● smoothness: Expression
Defined in material.ts:35
Material smoothness. 0 to 1
Default: 0
● transmittance: Expression
Defined in material.ts:29
Material transmittance. 0 to 1
Default: 0