ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
ColorLib Namespace Reference

(undocumented) More...

Functions

Vec3 HsvToRgb (Vec3 __Hsv)
 
Vec3 RgbToHsv (Vec3 __Rgb)
 
Text RgbToHex (Vec3 __Rgb)
 
Vec3 HexToRgb (Text _Text)
 Returns the RGB color corresponding to _Text.
 

Detailed Description

(undocumented)

Function Documentation

◆ HexToRgb()

Vec3 ColorLib::HexToRgb ( Text _Text)

Returns the RGB color corresponding to _Text.

Returns an empty Vec3 if an invalid Text is given

Parameters
_Text: The text you want to convert into a RGB color