Documentation / @sw-file-lib/core / MeshColor4
Interface: MeshColor4
ts
interface MeshColor4 {
r: number;
g: number;
b: number;
a: number;
}Defined in: mesh/index.ts:22
An RGBA vertex color.
Each component is stored as an 8-bit unsigned value (0–255).
Properties
| Property | Type | Description |
|---|---|---|
| Red channel. | |
| Green channel. | |
| Blue channel. | |
| Alpha channel. |