Model loading · interface

BlendColorLayer

Explained in Importing models.

interface BlendColorLayer
import type { BlendColorLayer } from '@driftengine/assets';

Properties

NameTypeDescription
namereadonlystring
domainreadonlytypeof POINT | typeof CORNER
rgbareadonlyFloat32ArrayRGBA per element, linear. A byte colour is stored sRGB-encoded and decoded here.