Template:KV CBaseAnimating
跳转到导航
跳转到搜索
- World Model (model) <model >
- The model this entity should appear as. 128-character limit.
- Skin (skin) <整数 >
- Some models have multiple skins. This value selects from the index, starting with 0. May be overridden by game code.
Tip:Hammer's model browser automatically updates this value if you use it to view different skins.
- Model Scale (modelscale) <浮点型 > (存在于自
) (也存在于
)
- A multiplier for the size of the model.
Tip:In
Hammer++ with a prop selected in 3D view, hold Ctrl and scroll the mouse wheel to change the modelscale in increments of 0.5. Holding ⇧ Shift will scale it in smaller increments of 0.05.
- Bodygroup (body / SetBodyGroup) <整数 >
- Some models have multiple submodels. This value selects from the index, starting with 0. May be overridden by animations and/or game code.
注意:If both body and SetBodyGroup are present (even if set to 0), body will be prioritized.
- Sequence (sequence) <整数 > !FGD
- Default animation sequence for the model to be playing after spawning. May be overridden by game code.
- Lighting Origin (lightingorigin) <target_destination>
- Select an entity (not info_lighting!) from which to sample lighting and cubemaps instead of the entity's $illumposition.
阴影:
- Disable Shadows (disableshadows) <布尔值 >
- 防止该实体生成廉价的渲染到纹理的阴影,或如果实体是 prop_static 的光照贴图阴影。不影响影子映射。
- 禁用接收阴影 (disablereceiveshadows) <布尔值 >
- 防止该实体接收动态阴影。
- Shadow Cast Distance (shadowcastdist) <整数 > !FGD
- 设置实体投射动态阴影的距离。0 表示从 shadow_control 实体开始的默认距离。
- Disable Shadow Depth (disableshadowdepth) <布尔值 > (存在于自
)
- 用于禁用此实体的阴影深度(用于投影纹理)的渲染。
- Disable flashlight (disableflashlight) <布尔值 > (存在于自
)
- 用于禁用此实体的投影纹理照明和阴影。
- Projected Texture Cache (shadowdepthnocache) <integer choices > (存在于自
)
- 用于提示投影纹理系统缓存此实体的阴影体积是否足够,或改为强制每帧渲染。
选项 - 0 : 默认
- 1 : 无缓存 - 每帧渲染
- 2 : 缓存 - 只渲染一次
- Render in Fast Reflections (drawinfastreflection) <布尔值 > (存在于自
)
- If enabled, this entity will render in fast water reflections (i.e. when a water material specifies
$reflectonlymarkedentities
) and in the world impostor pass.