S-C-Link_client~ RGBColor

RGB颜色

Constructor

new RGBColor()

Methods

normalize() → {Vector2}

归一化函数

Returns:
Type: 
Vector2

(static) fromHEX(hex)

从十六进制转换颜色
要求有6位(不包括#),例子:123456AABBCC#FEDCBA

Parameters:
NameTypeDescription
hexstring

十六进制颜色

normalize() → {Vector2}

归一化函数

Returns:
Type: 
Vector2

(static) fromHEX(hex)

从十六进制转换颜色
要求有6位(不包括#),例子:123456AABBCC#FEDCBA

Parameters:
NameTypeDescription
hexstring

十六进制颜色

S-C-Link_client~ RGBColor

RGB颜色

Constructor

new RGBColor()

Methods

normalize() → {Vector2}

归一化函数

Returns:
Type: 
Vector2

(static) fromHEX(hex)

从十六进制转换颜色
要求有6位(不包括#),例子:123456AABBCC#FEDCBA

Parameters:
NameTypeDescription
hexstring

十六进制颜色

normalize() → {Vector2}

归一化函数

Returns:
Type: 
Vector2

(static) fromHEX(hex)

从十六进制转换颜色
要求有6位(不包括#),例子:123456AABBCC#FEDCBA

Parameters:
NameTypeDescription
hexstring

十六进制颜色