Color255

来自Valve Developer Community
跳转至: 导航搜索
English (en)Deutsch (de)中文 (zh)
编辑
Note.png注意:这不是 C++ 变量。

用空格隔开的三个字节的字符串: 红 绿 蓝

样例

红色 = "255 0 0"
绿色 = "0 255 0"
蓝色 = "0 0 255"
橙色 = "255 128 0"
Note.png注意:Light 实体使用 Color255 表示颜色,然后使用整数表示强度。
样例: "255 255 255 5000"
Note.png注意:This is 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"
Note.png注意:Light entities use Color255 to represent color, followed by an integer for intensity.
Example: "255 255 255 5000"

External links