Zh/Color255: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
m (Nesciuse moved page Color255/zh to Zh/Color255 over redirect: Language prefixes)
m (-Using L template for links)
Line 2: Line 2:
{{note|这不是 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|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]]
[[Category:Variables:zh-cn]]
[[Category:Glossary:zh-cn]]
[[Category:Glossary:zh-cn]]

Revision as of 09:44, 11 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"