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

class Tinman.Color.Rgb16

Short Name:
  • class Rgb16
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 && # <= 65535
 

The red channel value (linear sRGB), in the range [0..65535].

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

The green channel value (linear sRGB), in the range [0..65535].

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

The blue channel value (linear sRGB), in the range [0..65535].

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

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