All classes > nms > Colour

This class is a simple colour one. The values of each field must be between 0 and 1. To convert from the usual representation of a value between 0 and 255, you just need to divide the value by 255 to get the floating point representation used by the game.

Name Data type Description
R Float The Red component of the colour
G Float The Green component of the colour
B Float The Blue component of the colour
A Float The Alpha component of the colour