Template:KV Studiomodel:zh-cn

From Valve Developer Community
Revision as of 08:35, 16 July 2021 by 1416006136 (talk | contribs) (Created page with "{{ScrollBox|title=Studiomodel| {{KV|World Model|intn=model|string|此实体应显示的模型。 128 个字符限制。}} {{KV|Skin|intn=skin|int|一些模型有多...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Studiomodel:
World Model (model) <string>
此实体应显示的模型。 128 个字符限制。
Skin (skin) <integer>
一些模型有多个 skins。该值从索引中选择,从 0 开始。Template:Tip:zh-cn
Model Scale (modelscale) <float> (in all games since Source 2013)
模型大小的乘数。

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 Portal 2)
Used to disable rendering into shadow depth (for projected textures) for this entity.
Disable flashlight (disableflashlight) <boolean> (in all games since Portal 2)
Used to disable projected texture lighting and shadows on this entity.
Projected Texture Cache (shadowdepthnocache) <integer choices> (in all games since Portal 2)
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:
Render in Fast Reflections (drawinfastreflection) <boolean> (in all games since Portal 2)
如果启用,该实体将在快速水反射中渲染(即当水材质指定$reflectonlymarkedentities时)和世界中的 impostor pass。