Skip to main content

Class: TColorMaterial

Defined in: graphics/color-material.ts:11

Implements​

Constructors​

Constructor​

new TColorMaterial(): TColorMaterial

Returns​

TColorMaterial

Properties​

palette?​

optional palette?: TPalette

Defined in: graphics/color-material.ts:14


type​

type: string = 'unknown'

Defined in: graphics/color-material.ts:12

Implementation of​

IMaterial.type

Methods​

load()​

load(response): Promise<void>

Defined in: graphics/color-material.ts:16

Parameters​

response​

Response

Returns​

Promise<void>

Implementation of​

IAsset.load


serialize()​

serialize(): TSerializedMaterial | undefined

Defined in: graphics/color-material.ts:26

Returns​

TSerializedMaterial | undefined

Implementation of​

IMaterial.serialize