Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Utilities.vxColourUtil Class Reference

Static Public Member Functions

static Color HueToRGB (double hue)
 Gets an RGB colour from a hue value.
 
static Color HsvToRGB (double hue, double saturation, double value)
 Converts an HSV to RGB value.
 
static Color HexToRGB (string hexValue)
 Convertes a Hex Value to a RGB Colour.
 
static string RGBToHex (Color color)
 Converts a Colour to a hex code.
 

Member Function Documentation

◆ HexToRGB()

static Color VerticesEngine.Utilities.vxColourUtil.HexToRGB ( string hexValue)
static

Convertes a Hex Value to a RGB Colour.

Parameters
hexValuea 6 character hex value
Returns

◆ HsvToRGB()

static Color VerticesEngine.Utilities.vxColourUtil.HsvToRGB ( double hue,
double saturation,
double value )
static

Converts an HSV to RGB value.

Parameters
hueHue value from 0 to 1
saturationSaturation value from 0 to 1
valueValue from 0 to 1
Returns

◆ HueToRGB()

static Color VerticesEngine.Utilities.vxColourUtil.HueToRGB ( double hue)
static

Gets an RGB colour from a hue value.

Parameters
hueHue value from 0 to 1
Returns

◆ RGBToHex()

static string VerticesEngine.Utilities.vxColourUtil.RGBToHex ( Color color)
static

Converts a Colour to a hex code.

Parameters
color
Returns

The documentation for this class was generated from the following file: