Tile - YPreviewEntity - Set Color – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(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) ==...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 37: Line 37:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023

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.