< Not used (included automatically from kexengine) More...
Public Member Functions | |
| kColor () | |
| kColor (const kColor &in c) | |
| kColor (uint8 r, uint8 g, uint8 b, uint8 a) | |
| kColor (const kColor &in rgb, uint8 a) | |
| kColor (uint8 rgb, uint8 a) | |
| kColor (uint rgba) | |
| kColor (float r, float g, float b) | |
| uint | DwColor () const |
| kVec3 | ToVec3 () const |
| void | FromVec3 (const kVec3 &in v) |
| kVec3 | ToVec3Linear () const |
| void | FromVec3Linear (const kVec3 &in v) |
| void | SetGrayScale () |
| void | SetSaturation (float) |
| void | SetLuminance (float) |
| float | GetSaturation () const |
| float | GetLuminance () const |
| kColor & | opAssign (const kColor &in c) |
| void | LerpRGB (const kColor &in c, float t) |
| kColor | ToPreMultiplied () const |
| void | PreMultiply () |
| void | RGBToHSV (float &out hue, float &out sat, float &out result) const |
| void | HSVToRGB (float hue, float sat, float val) |
| void | RGBToHSL (float &out hue, float &out sat, float &out lit) const |
| void | HSLToRGB (float hue, float sat, float lit) |
| bool | opEquals (const kColor &in c) const |
| kColor | opAdd (const kColor &in c) const |
| kColor | opSub (const kColor &in c) const |
| kColor | opMul (const kColor &in c) const |
| kColor | opMul (float f) const |
| kColor & | opAddAssign (const kColor &in c) |
| kColor & | opSubAssign (const kColor &in c) |
| kColor & | opMulAssign (const kColor &in c) |
| kColor & | opMulAssign (float f) |
Public Attributes | |
| uint8 | r |
| uint8 | g |
| uint8 | b |
| uint8 | a |
< Not used (included automatically from kexengine)
Definition at line 816 of file t1_scriptAPI.cpp.
| kColor::kColor | ( | ) |
| kColor::kColor | ( | const kColor &in | c | ) |
| kColor::kColor | ( | uint8 | r, |
| uint8 | g, | ||
| uint8 | b, | ||
| uint8 | a ) |
| kColor::kColor | ( | const kColor &in | rgb, |
| uint8 | a ) |
| kColor::kColor | ( | uint8 | rgb, |
| uint8 | a ) |
| kColor::kColor | ( | uint | rgba | ) |
| kColor::kColor | ( | float | r, |
| float | g, | ||
| float | b ) |
| uint kColor::DwColor | ( | ) | const |
| void kColor::FromVec3 | ( | const kVec3 &in | v | ) |
| void kColor::FromVec3Linear | ( | const kVec3 &in | v | ) |
| float kColor::GetLuminance | ( | ) | const |
| float kColor::GetSaturation | ( | ) | const |
| void kColor::HSLToRGB | ( | float | hue, |
| float | sat, | ||
| float | lit ) |
| void kColor::HSVToRGB | ( | float | hue, |
| float | sat, | ||
| float | val ) |
| void kColor::LerpRGB | ( | const kColor &in | c, |
| float | t ) |
| bool kColor::opEquals | ( | const kColor &in | c | ) | const |
| kColor kColor::opMul | ( | float | f | ) | const |
| kColor & kColor::opMulAssign | ( | float | f | ) |
| void kColor::PreMultiply | ( | ) |
| void kColor::RGBToHSL | ( | float &out | hue, |
| float &out | sat, | ||
| float &out | lit ) const |
| void kColor::RGBToHSV | ( | float &out | hue, |
| float &out | sat, | ||
| float &out | result ) const |
| void kColor::SetGrayScale | ( | ) |
| void kColor::SetLuminance | ( | float | ) |
| void kColor::SetSaturation | ( | float | ) |
| kColor kColor::ToPreMultiplied | ( | ) | const |
| kVec3 kColor::ToVec3 | ( | ) | const |
| kVec3 kColor::ToVec3Linear | ( | ) | const |
| uint8 kColor::a |
Definition at line 856 of file t1_scriptAPI.cpp.
| uint8 kColor::b |
Definition at line 855 of file t1_scriptAPI.cpp.
| uint8 kColor::g |
Definition at line 854 of file t1_scriptAPI.cpp.
| uint8 kColor::r |
Definition at line 853 of file t1_scriptAPI.cpp.