Template:KV Type:zh-cn/doc
Salti al navigilo
Salti al serĉilo
一个给 FGD 和着色器参数模板使用的列表参数模板,以便于链接到各种变量类型。
用法
此模板接受一个参数:变量类型的名称。它根据此参数输出特定的字符串。它不区分大小写。
下表列出了输入、其结果、产生相同结果的其他输入以及需要注意的任何事项。不包括大小写变化。
代码 | 输出 | 其他结果 | 备注 |
---|---|---|---|
{{KV Type:zh-cn|axis}} |
<axis> | ||
{{KV Type:zh-cn|bool}} |
<boolean > | boolean | (en ĉiu ludo post ![]() ![]() 在早期游戏中使用 choices 替代。 |
{{KV Type:zh-cn|choices}} |
<choices> | ||
{{KV Type:zh-cn|color255}} |
<color255 > | RGB | |
{{KV Type:zh-cn|color255 + int}} |
<color255 + int > | color255+int | |
{{KV Type:zh-cn|env_cubemap / texture}} |
<env_cubemap/texture > | cubemap/texture, cubemap / texture, env cubemap/texture, env cubemap / texture, env_cubemap/texture | |
{{KV Type:zh-cn|filter}} |
<filter > | filterclass | |
{{KV Type:zh-cn|float}} |
<float > | ||
{{KV Type:zh-cn|int}} |
<integer > | integer | |
{{KV Type:zh-cn|int 0-10}} |
<integer 0–10> | 用于 ambient_generic | |
{{KV Type:zh-cn|int 0-100}} |
<integer 0–100> | 用于 ambient_generic | |
{{KV Type:zh-cn|int 0-1000}} |
<integer 0–1000> | 用于 ambient_generic | |
{{KV Type:zh-cn|int 0-255}} |
<integer 0–255> | 用于 ambient_generic | |
{{KV Type:zh-cn|property}} |
<property > | material property | 链接到 Material surface properties。 |
{{KV Type:zh-cn|RGB matrix}} |
<RGB matrix > | 是两个单独的链接。 | |
{{KV Type:zh-cn|script}} |
<script > | vscript | 链接到 Vscript。 |
{{KV Type:zh-cn|scriptlist}} |
<scriptlist > | ||
{{KV Type:zh-cn|string}} |
<string > | str | |
{{KV Type:zh-cn|studio}} |
<model path > | model, modelname, model name, modelpath, model path | 链接到 Model. |
{{KV Type:zh-cn|target}} |
<targetname > | target_name, target_destination, target_source | |
{{KV Type:zh-cn|vector}} |
<vector > | vecline | |
{{KV Type:zh-cn|vector2}} |
<vector2 > | ||
{{KV Type:zh-cn|vector3}} |
<vector3 > | ||
{{KV Type:zh-cn|vector4}} |
<vector4 > | ||
{{KV Type:zh-cn|void}} |
<void> | <blank> |
任何其他输入都将是指向该输入的链接。
另请参阅
{{IO:zh-cn}}
{{KV:zh-cn}}
{{MatParam:zh-cn}}