Template:VT

Материал из Valve Developer Community
Перейти к навигации Перейти к поиску
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Info.png
Страница документации Template:VT/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.

Just a list template for FGD and shader parameter templates to easily link to a wide variety of variable types.

Usage

This template accepts one parameter: the name of the variable type. It outputs a specific string depending on this parameter. It is not case-sensitive.

The following table lists inputs, their results, other inputs yielding the same results, and any things to note. Case variations are not included.

Broom icon.png
Эта статья нуждается в обновлении, чтобы включить актуальную информацию по теме потому что:
There have been some changes and additions since this table was made.
Remember to check for any notes left by the tagger at this article's talk page.
Code Output Other Values Notes
{{VT|axis}} <координаты(en)>
{{VT|bool}} <булева переменная(en)> boolean FGD KV type is (Во всех играх начиная с Alien Swarm engine branch) (также в Garry's Mod)
Use choices instead in earlier games' FGDs, but note them as Booleans on the game pages themselves.
{{VT|byte}} <byte(en)>
{{VT|byte choices}} <byte choices(en)>
{{VT|choices}} <варианты выбора>
{{VT|color255}} <цвет КЗС(en)> RGB
{{VT|color255 + int}} <цвет КЗС(en) + целое число(en)> color255+int
{{VT|env_cubemap / texture}} <env_cubemap/текстура(en)> cubemap/texture, cubemap / texture, env cubemap/texture, env cubemap / texture, env_cubemap/texture
{{VT|filter}} <фильтр(en)> filterclass
{{VT|float}} <число с плавающей запятой(en)>
{{VT|int}} <целое число(en)> integer
{{VT|int 0-10}} <целое число(en) 0–10> For ambient_generic
{{VT|int 0-100}} <целое число(en) 0–100> For ambient_generic
{{VT|int 0-1000}} <целое число(en) 0–1000> For ambient_generic
{{VT|integer 0-255}} <integer 0-255(en)> For ambient_generic
{{VT|property}} <свойство(en)> material property Is a link to Material surface properties.
{{VT|RGB matrix}} <RGB(en) матрица(en)> Is two separate links.
{{VT|script}} <скрипт(en)> vscript Is a link to Vscript.
{{VT|scriptlist}} <скриптлист VScript(en)>
{{VT|string}} <строка(en)> str
{{VT|studio}} <путь к модели(en)> model, modelname, model name, modelpath, model path Is a link to Model.
{{VT|target}} <целевой объект(en)> target_name, target_destination, target_source
{{VT|vector}} <вектор(en)> vecline
{{VT|vector2}} <вектор2(en)>
{{VT|vector3}} <вектор3(en)>
{{VT|vector4}} <вектор4(en)>
{{VT|void}} <пусто(en)> <blank>

Any other input will be a link to that input.

See also