Tile - YPreviewEntity - Set Color – Ylands

From Bohemia Interactive Community
Revision as of 17:47, 1 December 2022 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Set Color(Preview entity, Color id, Color) ==...")
(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.