Tile - YColor - Color – Ylands

From Bohemia Interactive Community
(Redirected from Ylands Tile - Color new)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Color(Red, Green, Blue, Alpha)

YlandsTile-562.png

static create(r: number, g: number, b: number, a: number): YColor;

Parameters

r

Red component of the color (0-255)

g

Green component of the color (0-255)

b

Blue component of the color (0-255)

a

Returns

YColor

Availability

Client, Server

Description

Returns new color as defined by RGB values.