Zh/Color255: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
m (Categories)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lang|Color255|title=Color255}}
{{LanguageBar}}
{{note:zh-cn|这不是 C++ 变量。}}
{{note|这不是 C++ 变量。}}


用空格隔开的三个[[byte:zh-cn|字节]]的字符串:
用空格隔开的三个{{L|byte|字节}}的字符串:
<code>红 绿 蓝</code>
<code>红 绿 蓝</code>


Line 14: Line 14:
:橙色 = "<code>255 128 0</code>"
:橙色 = "<code>255 128 0</code>"


{{note:zh-cn|Light 实体使用 Color255 表示颜色,然后使用[[integer:zh-cn|整数]]表示强度。<br>'''样例: <code>"255 255 255 5000"</code>'''}}
{{note|Light 实体使用 Color255 表示颜色,然后使用{{L|integer|整数}}表示强度。<br>'''样例: <code>"255 255 255 5000"</code>'''}}


[[Category:Variables:zh-cn]]
{{ACategory|Variables}}
[[Category:Glossary:zh-cn]]
{{ACategory|Glossary}}

Latest revision as of 06:08, 13 July 2024

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

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

样例

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