Tile - YEntity - Paint – Ylands

From Bohemia Interactive Community
Revision as of 09:52, 8 July 2021 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. --> == Paint(Entity, Instigator, Color id, Color, Positi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

YlandsTile-1131.png

paint(instigator: YCharacter, colorId: number, color: YColor, position: YVector3): void;

Parameters

instigator

Instigator entity

colorId

Color channel ID

color

New color

position

Particle effect position

Description

Allows to apply a color on to selected color channel of target object, with paint splash effect.

Paint(Entity, Instigator, Color, Position)

YlandsTile-1128.png

paint(instigator: YCharacter, color: YColor, position: YVector3): void;

Parameters

instigator

Instigator entity

color

New color

position

Particle effect position

Description

Allows to apply one color on to all color channels of target object, with paint splash effect.