Tile - YEntity - Set Color – Ylands
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(Entity, Color) == File:YlandsTile-...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
New color | New color | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 31: | Line 35: | ||
Target color. | Target color. | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 43: | Line 51: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:26, 24 November 2023
Set Color(Entity, Color)
setColor(color: YColor): void;
Parameters
color
New color
Availability
Description
Allows to apply one color on to all color channels of target object, without paint splash effect.
Set Color(Entity, Color id, Color)
setColor(colorId: number, color: YColor): void;
Parameters
colorId
Target entity color channel ID
color
Target color.
Availability
Description
Allows to set color of selected color channel of target entity.
Notes
- Alpha of the color governs the emissivity of the material.