Rayity

rayity > “material”

External module: “material”

Module for creating a Material

Index

Interfaces

Functions


Functions

material

material(values?: MaterialOptions): Material

Defined in material.ts:63

Create a Material

Parameters:

Param Type Description
values MaterialOptions -

Returns: Material


spotlight

spotlight(options?: SpotlightOptions): Material

Defined in material.ts:102

Create a spotlight Material

Parameters:

Param Type Description
options SpotlightOptions -

Returns: Material