Tile - YEntity - Wash Color – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Entity colors to Ylands:Tile - YEntity - Wash Color: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Entity_colors.png]]
<!---
*Allows to '''get''' / '''set''' selected '''color channel''' of target entity.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Wash Color(Entity, Instigator, Color id, Position) ==


[[File:YlandsTile-1132.png]]


[[Image:Ylands_Tile_-_Entity_colors_revert.png]]
<pre>washColor(instigator: YCharacter, colorId: number, position: YVector3): void;</pre>
*Allows to '''revert''' selected '''color channels''' on target entity.
=== Parameters ===
 
==== instigator ====
 
Instigator entity
 
==== colorId ====
 
Target color channel ID
 
==== position ====
 
Particle effect position
 
=== Description ===
 
Allows to revert selected color channel of target object, with paint splash effect.
 
== Wash Color(Entity, Instigator, Position) ==
 
[[File:YlandsTile-1133.png]]
 
<pre>washColor(instigator: YCharacter, position: YVector3): void;</pre>
=== Parameters ===
 
==== instigator ====
 
Instigator entity
 
==== position ====
 
Particle effect position
 
=== Description ===
 
Reverts all color channels of target object to default color, with paint splash effect.


=Notes=
*'''Alpha''' channel of the [[Ylands Tile - Color literal|'''Color''']] governs the '''emissivity''' of the material.


----
----
Line 14: Line 50:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Revision as of 09:52, 8 July 2021

Wash Color(Entity, Instigator, Color id, Position)

YlandsTile-1132.png

washColor(instigator: YCharacter, colorId: number, position: YVector3): void;

Parameters

instigator

Instigator entity

colorId

Target color channel ID

position

Particle effect position

Description

Allows to revert selected color channel of target object, with paint splash effect.

Wash Color(Entity, Instigator, Position)

YlandsTile-1133.png

washColor(instigator: YCharacter, position: YVector3): void;

Parameters

instigator

Instigator entity

position

Particle effect position

Description

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