Skip to content

Interface: IMaterialOptions

IMaterialOptions represents optional properties for a material, will generally be used with defaults that are overridden.

Table of contents

Properties

Properties

color

Optional color: undefined | Color

The color to apply, either to a texture if there is one, or just the direct color if there is no texture.


shaders

Optional shaders: undefined | string[]

List of shaders to apply.


texture

Optional texture: undefined | Texture

The texture to apply.