Skip to content

Utility documentation

Peter Crew edited this page Jan 14, 2019 · 1 revision

This page covers the documentation for little utility classes used by Equilinox and/or Equilimod.


Colour

Represents an in-game colour.

Constructor

The constructor takes either a Vector3f or three float arguments (each describing one of the RGB components respectively). The format assumes that the colour has been normalised between 0 and 1, with 1 representing an RGB value of 255. For example: new Colour(new Vector3f(1, 0, 0)) is equivalent to new Colour(1, 0, 0) and represents a full red.

Clone this wiki locally