Template:KV Studiomodel:zh-cn: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (Move Category to zh-cn) |
Kestrelguy (talk | contribs) m (added language bar.) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=Studiomodel| | {{lang|Template:KV Studiomodel}} | ||
<onlyinclude>{{ScrollBox|title=Studiomodel|noscroll={{{noscroll|}}}| | |||
{{KV:zh-cn|World Model|intn=model|string|此实体应显示的[[model|模型]]。 128 个字符限制。}} | {{KV:zh-cn|World Model|intn=model|string|此实体应显示的[[model|模型]]。 128 个字符限制。}} | ||
{{KV:zh-cn|Skin|intn=skin|int|一些模型有多个 [[$texturegroup|skins]]。该值从索引中选择,从 0 开始。{{tip:zh-cn|Hammer 的模型浏览器如果您使用它来查看不同的 skin,则会自动更新该值。}}}} | {{KV:zh-cn|Skin|intn=skin|int|一些模型有多个[[$texturegroup|skins]] {{en}}。该值从索引中选择,从 0 开始。{{tip:zh-cn|Hammer 的模型浏览器如果您使用它来查看不同的 skin,则会自动更新该值。}}}} | ||
{{KV:zh-cn|Model Scale|intn=modelscale|float|模型大小的乘数。|since={{Src13}}}} | {{KV:zh-cn|Model Scale|intn=modelscale|float|模型大小的乘数。|since={{Src13}}}} | ||
{{KV Shadow:zh-cn}} | {{KV Shadow:zh-cn}} | ||
{{KV Reflection:zh-cn}} | {{KV Reflection:zh-cn}} | ||
}}< | }}</onlyinclude> | ||
{{documentation:zh-cn}} | |||
Revision as of 10:03, 9 May 2022
Studiomodel:
- Skin
(skin)
<integer> - 一些模型有多个skins
。该值从索引中选择,从 0 开始。Template:Tip:zh-cn
- Model Scale
(modelscale)
<float> (存在于自以来)
- 模型大小的乘数。
Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable Shadow Depth (disableshadowdepth) <boolean> (in all games since
)
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight (disableflashlight) <boolean> (in all games since
)
- Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache (shadowdepthnocache) <integer choices> (in all games since
)
- Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
Choices - 0 : Default
- 1 : No cache - render every frame
- 2 : Cache it - render only once
Reflection:
用法
参数 | 描述 | 示例 | 预览 | |
---|---|---|---|---|
static |
用于控制是否展示"Model Scale"键值。使用|static=0 调用此模板以显示此键值。 |
{{KV Studiomodel:zh-cn|static=0}} |
Studiomodel:
Shadow:
Reflection:
| |
noscroll |
使用|noscroll=1 调用此模板以阻止此模板滚动和/或使用|prep2=1 调用此模板以隐藏在![]() |
{{KV Studiomodel:zh-cn|noscroll=1}} |
Studiomodel:
Shadow:
Reflection:
| |
prep2 |
使用|prep2=1 调用此模板以隐藏在![]() |
{{KV Studiomodel:zh-cn|prep2=1}} |
Studiomodel:
Shadow:
Reflection:
| |
无参数 | N/A | {{KV Studiomodel:zh-cn}} |
Studiomodel:
Shadow:
Reflection:
|
以上文档摘自 Template:KV Studiomodel:zh-cn/doc。(编辑 | 历史记录)
编辑者可以在此模板的沙盒 (创建 | 将本页内容写入至沙盒页面) 和 testcases(测试用例) (创建) 页面编辑。
请将分类(类别)添加到 /doc 子页面。 此模板的子页面
编辑者可以在此模板的沙盒 (创建 | 将本页内容写入至沙盒页面) 和 testcases(测试用例) (创建) 页面编辑。
请将分类(类别)添加到 /doc 子页面。 此模板的子页面