User Tools

Site Tools


hpl3:community:scripting:classes:ccolor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl3:community:scripting:classes:ccolor [2016/07/30 21:00]
abion47
hpl3:community:scripting:classes:ccolor [2018/04/26 23:23] (current)
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.1469912411.txt.gz · Last modified: 2016/07/30 21:00 by abion47