The 2D layer · function
themeColour
Explained in Sprites and tilemaps.
function themeColour(theme: Theme, name: string, fallback: number): numberimport { themeColour } from '@driftengine/ui2d';Parameters
| Parameter | Type | Description |
|---|---|---|
theme | Theme | |
name | string | |
fallback | number |