Color

Reference

class Color
module:
set(r, g, b, a)
Parameters:
  • r (any)

  • g (any)

  • b (any)

  • a (any)

get()
toData()

Get values of color

Returns:

the values

Return type:

table

equals(other)
Parameters:

other (any)

lerp(a, b, t)
Parameters:
  • a (any)

  • b (any)

  • t (any)

Examples