textmode.js / layering / TextmodeLayer / useTileColors
Method: useTileColors()
ts
useTileColors(enabled?): boolean | void;Configure authored tileset color preservation for this layer.
When disabled (default), tileset texels are remapped to the current character (charColor) and cell (cellColor) colors. Vector/font atlases always use character/cell recoloring regardless of this setting.
Parameters
| Parameter | Type | Description |
|---|---|---|
enabled? | boolean | Whether to preserve authored tileset colors. |
Returns
boolean | void
Current tileset-color mode when called without arguments.