Tile - YEntity - Paint – Ylands
Jump to navigation
Jump to search
Paint(Entity, Instigator, Color id, Color, Position)
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
Availability
Description
Allows to apply a color on to selected color channel of target object, with paint splash effect.
Paint(Entity, Instigator, Color, Position)
paint(instigator: YCharacter, color: YColor, position: YVector3): void;
Parameters
instigator
Instigator entity
color
New color
position
Particle effect position
Availability
Description
Allows to apply one color on to all color channels of target object, with paint splash effect.