Tile - YPreviewEntity - Set Color – Ylands

From Bohemia Interactive Community
Revision as of 15:26, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set Color(Preview entity, Color id, Color)

YlandsTile-1454.png

setColor(colorId: number, color: YColor): void;

Parameters

colorId

color

Availability

Description

Sets the color channel of the target Preview Object to the selected color.

Set Color(Preview entity, Color)

YlandsTile-1455.png

setColor(color: YColor): void;

Parameters

color

Availability

Description

Sets all color channels of the target Preview Object to the selected color.