TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Color.Rgb8

Short Name:
  • class Rgb8
Derived From:
Fields:

Specifies a color by giving its color channel values.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required red number
# >= 0 && # <= 255
 

The red channel value (compressed sRGB), in the range [0..255].

required green number
# >= 0 && # <= 255
 

The green channel value (compressed sRGB), in the range [0..255].

required blue number
# >= 0 && # <= 255
 

The blue channel value (compressed sRGB), in the range [0..255].

optional alpha number
# >= 0 && # <= 255
255

The alpha channel value (linear), in the range [0..255].