![]() |
Python Script Engine
8.3
GL Studio Editor Python Script API
|
Public Member Functions | |
GlsColor () | |
GlsColor (int r, int g, int b, int a=255) | |
None | R (int val) |
None | G (int val) |
None | B (int val) |
None | A (int val) |
int | R (None) |
int | G (None) |
int | B (None) |
int | A (None) |
Python extension for the GlsColor editor class (was formerly glsColor, which still exists for backwards compatiblity)
GlsColor::GlsColor | ( | ) |
Default Constructor.
GlsColor::GlsColor | ( | int | r, |
int | g, | ||
int | b, | ||
int | a = 255 |
||
) |
Construct a color from red, green, blue, and optionally alpha values.
None GlsColor::A | ( | int | val | ) |
Set the Alpha component of this color.
val | The new value for the component |
int GlsColor::A | ( | None | ) |
None GlsColor::B | ( | int | val | ) |
Set the Blue component of this color.
val | The new value for the component |
int GlsColor::B | ( | None | ) |
None GlsColor::G | ( | int | val | ) |
Set the Green component of this color.
val | The new value for the component |
int GlsColor::G | ( | None | ) |
None GlsColor::R | ( | int | val | ) |
Set the Red component of this color.
val | The new value for the component |
int GlsColor::R | ( | None | ) |