Zh/Env dof controller: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
(Created page with "{{lang|Env dof controller}} left|link={{point_ent:zh|env_dof_controller|engine=Source|since=Left 4 Dead}}这是一个作用于所有人的,...")
 
No edit summary
Line 16: Line 16:
{{KV:zh-cn|Focus target (focus_target)|since=AS|target_source|当做焦点的实体。}}
{{KV:zh-cn|Focus target (focus_target)|since=AS|target_source|当做焦点的实体。}}
{{KV:zh-cn|Focus target range (focus_range)|since=AS|浮点型|保持焦距的距离。}}
{{KV:zh-cn|Focus target range (focus_range)|since=AS|浮点型|保持焦距的距离。}}
(以上键值仅限异形从群!)
{{KV BaseEntity:zh}}
{{KV BaseEntity:zh}}



Revision as of 23:31, 12 October 2019

English (en)中文 (zh)Translate (Translate)
Env dof controller.png

起源 env_dof_controller是一个存在于所有的 起源 游戏自从 Template:Name=Left 4 Dead 以来的点实体。这是一个作用于所有人的,控制景深设置的实体。


待完善: This template is currently using deprecated suf or {{Lang}}-based translations. Please use the main {{Code class}} instead, which uses {{Autolang}}.

在源代码中,它由 class CEnvDOFController 代表,定义于 env_dof_controller.cpp


键值

Enabled (enabled) <布尔型(en)> (存在于自 AS 以来)
是否可以起作用。如果不起作用,需要用以下输入 SetNearBlurRadius 或者 SetFarBlurRadius.
Near blur depth (near_blur) <浮点型(en)> (存在于自 AS 以来)
视野内模糊度达到峰值的接近距离。
Near focus depth (near_focus) <浮点型(en)> (存在于自 AS 以来)
视野内焦点达到峰值的接近距离。
Near blur radius (near_radius) <浮点型(en)> (存在于自 AS 以来)
多大半径模糊周围像素(单位像素)。
Far blur depth (far_blur) <浮点型(en)> (存在于自 AS 以来)
视野内模糊度打到峰值的最远距离。
Far focus depth (far_focus) <浮点型(en)> (存在于自 AS 以来)
视野内焦点达到峰值的最远距离。
Far blur radius (far_radius) <浮点型(en)> (存在于自 AS 以来)
多大半径模糊最远像素(单位像素)。
Focus target (focus_target) <target_source> (存在于自 AS 以来)
当做焦点的实体。
Focus target range (focus_range) <浮点型(en)> (存在于自 AS 以来)
保持焦距的距离。

(以上键值仅限异形从群!)

Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
The redirect page got deleted, therefore this page should too.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Inputs

SetNearBlurDepth <浮点型(en)>
Set the distance in front of the focus region at which the scene will be completely blurred using the near blur radius. Must be smaller than the near focus death.
SetNearFocusDepth <浮点型(en)>
The area between the near focus and far focus distances is perfectly in focus. Must be smaller than the far focus depth.
SetFarFocusDepth <浮点型(en)>
The area between the near focus and far focus distances is perfectly in focus. Must be smaller than the far blur depth.
SetFarBlurDepth <浮点型(en)>
Set the distance beyond the focus region at which the scene will be completely blurred using the far blur radius. Must be larger than the far focus depth.
SetNearBlurRadius <浮点型(en)>
Set the blur radius (in pixels) to use at the near blur distance. Set to 0 to disable near blur.
SetFarBlurRadius <浮点型(en)>
Set the blur radius (in pixels) to use at the far blur distance. Set to 0 to disable far blur.
SetFocusTarget <字符串(en)> (存在于自 异形丛生 以来)
Set the focal target for the effect.
SetFocusTargetRange <浮点型(en)> (存在于自 异形丛生 以来)
Set the distance behind the focal point that will remain in focus.


Outputs