Skip to content

color_t

Name Type
r number
g number
b number
a number

Constructor

color_t(r: number, g: number, b: number, a: number)

Name Type
r number
g number
b number
a number

__tostring

color:__tostring(): string


lerp

color:lerp(other: color_t, fraction: number): color_t

Name Type Description
other color_t Other color
fraction number Fraction