Color255: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(reverted to prev revision) |
||
Line 4: | Line 4: | ||
<code>RED GREEN BLUE</code> | <code>RED GREEN BLUE</code> | ||
===Examples:=== | |||
:Red = "<code>255 0 0</code>" | |||
:Green = "<code>0 255 0</code>" | |||
:Blue = "<code>0 0 255</code>" | |||
:Orange = "<code>255 128 0</code>" | |||
Hammer allows for [[integer]]s (possibly [[string]]s and [[real |float]]s too) to be appended to the color255. This is used by light entities to store their brightness. | |||
Revision as of 13:17, 18 June 2007
(not a c++ variable)
A string of three bytes (0-255) separated by spaces:
RED GREEN BLUE
Examples:
- Red = "
255 0 0
"
- Green = "
0 255 0
"
- Blue = "
0 0 255
"
- Orange = "
255 128 0
"
Hammer allows for integers (possibly strings and floats too) to be appended to the color255. This is used by light entities to store their brightness.