#include <colorinterface.h>
|
int | r |
| red value [ 0, 255 ]
|
|
int | g |
| green value [ 0, 255 ]
|
|
int | b |
| blue value [ 0, 255 ]
|
|
int | a |
| alpha value [ 0, 255 ]
|
|
The ColorRGBA class defines a four-dimensional container for colors. ColorRGBA objects can be instantiated in the scripting environment.
You can use it in both Script Editor and scriptModule.
Create a new default ColorRGBA (ie. opaque white).
ColorRGBA::ColorRGBA |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b, |
|
|
double |
a |
|
) |
| |
Create a new ColorRGBA.
- Parameters
-
r | Red value |
g | Green value |
b | Blue value |
a | Alpha value |
The documentation for this class was generated from the following file: