Both sides previous revision Previous revision | Last revision Both sides next revision | ||
hpl3:community:scripting:classes:ccolor [2018/04/26 23:23] abion47 [Constructors] |
hpl3:community:scripting:classes:ccolor [2018/04/26 23:23] abion47 [Constructors] |
||
---|---|---|---|
Line 6: | Line 6: | ||
|cColor() |Creates a color with a default value of opaque black. | | |cColor() |Creates a color with a default value of opaque black. | | ||
|cColor(float, float) |Creates a color with the first parameter given to all the RGB values (the color will be a shade of grey) and the second parameter given to the alpha channel. | | |cColor(float, float) |Creates a color with the first parameter given to all the RGB values (the color will be a shade of grey) and the second parameter given to the alpha channel. | | ||
- | |cColor(float, float, float) |Creates a color using the given values as RGB data. | | + | |cColor(float, float, float) |Creates an opaque color using the given values as RGB data. | |
|cColor(float, float, float, float) |Creates a color using the given values as RGBA data. | | |cColor(float, float, float, float) |Creates a color using the given values as RGBA data. | | ||