Kerbal Space Program
1.12.4
|
Representation of color in HSV model More...
Public Member Functions | |
ColorHSV (float h, float s, float v, float a) | |
Constructs a new ColorHSV with given h, s, v, a components More... | |
ColorHSV (float h, float s, float v) | |
Constructs a new ColorHSV with given h, s, v components and sets alpha to 1 More... | |
ColorHSV (Color color) | |
Constructs a new ColorHSV from a Color More... | |
void | FromColor (Color color) |
Loads an existing ColorHSV with a Color More... | |
Color | ToColor () |
Converts ColorHSV to a RGB representation More... | |
Public Attributes | |
float | a |
Alpha component of the color More... | |
float | h |
Hue component of the color More... | |
float | s |
Saturation component of the color More... | |
float | v |
Value component of the color More... | |
Representation of color in HSV model
|
inline |
Constructs a new ColorHSV with given h, s, v, a components
h | Hue component |
s | Saturation component |
v | Value component |
a | Alpha component |
|
inline |
Constructs a new ColorHSV with given h, s, v components and sets alpha to 1
h | Hue component |
s | Saturation component |
v | Value component |
|
inline |
Constructs a new ColorHSV from a Color
|
inline |
Loads an existing ColorHSV with a Color
|
inline |
Converts ColorHSV to a RGB representation
float ColorHSV.a |
Alpha component of the color
float ColorHSV.h |
Hue component of the color
float ColorHSV.s |
Saturation component of the color
float ColorHSV.v |
Value component of the color