User Tools

Site Tools


hpl3:community:scripting:classes:ccolor

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
hpl3:community:scripting:classes:ccolor [2016/07/30 21:00]
abion47
hpl3:community:scripting:classes:ccolor [2018/04/26 23:23]
abion47 [Constructors]
Line 5: Line 5:
 ^Constructor ^Description | ^Constructor ^Description |
 |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 RGB and the second parameter given to A. | +|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 ​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.   |
  
hpl3/community/scripting/classes/ccolor.txt · Last modified: 2020/08/03 18:53 by abion47