Zh/Color255: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
m (clean up, replaced: {{note:zh-cn → {{note (2))
mNo edit summary
Line 1: Line 1:
{{lang|Color255|title=Color255}}
{{langsp}}
{{note|这不是 C++ 变量。}}
{{note|这不是 C++ 变量。}}



Revision as of 11:33, 29 January 2024

English (en)Deutsch (de)Hrvatski (hr)Русский (ru)中文 (zh)Translate (Translate)
Note.png注意:这不是 C++ 变量。

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

样例

红色 = "255 0 0"
绿色 = "0 255 0"
蓝色 = "0 0 255"
橙色 = "255 128 0"
Note.png注意:Light 实体使用 Color255 表示颜色,然后使用整数表示强度。
样例: "255 255 255 5000"