#include <ugdk/structure/color.h>
|
union { |
struct { |
double r |
|
double g |
|
double b |
|
double a |
|
} | |
|
struct { |
double val [4] |
|
} | |
|
}; | |
|
ugdk::structure::Color::Color |
( |
| ) |
|
|
inline |
ugdk::structure::Color::Color |
( |
double |
_r, |
|
|
double |
_g, |
|
|
double |
_b, |
|
|
double |
_a = 1.0 |
|
) |
| |
|
inlineexplicit |
ugdk::structure::Color::Color |
( |
uint32 |
hex_val, |
|
|
double |
_a = 1.0 |
|
) |
| |
|
inlineexplicit |
void ugdk::structure::Color::Compose |
( |
const Color & |
rhs | ) |
|
|
inline |
double ugdk::structure::Color::get_a |
( |
| ) |
const |
|
inline |
double ugdk::structure::Color::get_b |
( |
| ) |
const |
|
inline |
double ugdk::structure::Color::get_g |
( |
| ) |
const |
|
inline |
double ugdk::structure::Color::get_r |
( |
| ) |
const |
|
inline |
Color ugdk::structure::Color::operator* |
( |
const Color & |
rhs | ) |
const |
|
inline |
Color& ugdk::structure::Color::operator*= |
( |
const Color & |
rhs | ) |
|
|
inline |
void ugdk::structure::Color::set_a |
( |
double |
a_ | ) |
|
|
inline |
void ugdk::structure::Color::set_b |
( |
double |
b_ | ) |
|
|
inline |
void ugdk::structure::Color::set_g |
( |
double |
g_ | ) |
|
|
inline |
void ugdk::structure::Color::set_r |
( |
double |
r_ | ) |
|
|
inline |
double ugdk::structure::Color::a |
double ugdk::structure::Color::b |
double ugdk::structure::Color::g |
double ugdk::structure::Color::r |
double ugdk::structure::Color::val[4] |
The documentation for this struct was generated from the following file:
- modules/ugdk-core/include/ugdk/structure/color.h