Tile - YEntity - Revert 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. --> == Revert Color(Entity) == File:YlandsTile-1130...")
 
No edit summary
Line 7: Line 7:


<pre>revertColor(): void;</pre>
<pre>revertColor(): void;</pre>
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]
=== Description ===
=== Description ===


Line 19: Line 23:


==== color1 ====
==== color1 ====
Whether to revert color channel 1 (boolean)


==== color2 ====
==== color2 ====
Whether to revert color channel 2 (boolean)


==== color3 ====
==== color3 ====
Whether to revert color channel 3 (boolean)
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===


Allows to '''revert''' selected '''color channels''' of the target entity.
Allows to '''revert''' selected '''color channels''' of the target entity.
=== Notes ===
* '''Alpha''' channel of the '''Color''' governs the '''emissivity''' of the material.





Revision as of 16:30, 30 March 2022

Revert Color(Entity)

YlandsTile-1130.png

revertColor(): void;

Availability

Server

Description

Reverts all color channels of target object to default color, without paint splash effect.

Revert Color(Entity, Color 1, Color 2, Color 3)

YlandsTile-494.png

revertColor(color1: boolean, color2: boolean, color3: boolean): void;

Parameters

color1

Whether to revert color channel 1 (boolean)

color2

Whether to revert color channel 2 (boolean)

color3

Whether to revert color channel 3 (boolean)

Availability

Server

Description

Allows to revert selected color channels of the target entity.