Model loading · interface
ChannelSource
A channel of an image, as a socket reads it.
Explained in Importing models.
interface ChannelSourceimport type { ChannelSource } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
imagereadonly | BlendStruct | |
channelreadonly | 'rgb' | 'r' | 'g' | 'b' | 'a' | rgb for a colour socket; one channel for a scalar socket. |