Func areaportalwindow: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 4: Line 4:
== Entity description ==
== Entity description ==
Creates a type of [[areaportal]], used to optimize the visibility in a map. If you seal off an area with them, when the viewer moves the specified distance away from them, they will go opaque and the area through the window will not be drawn. The 'target' brush model should enclose the <code>func_areaportalwindow</code> so no parts of it are culled by the window. If you use the optional foreground brush model, then it should enclose the 'target' brush model.
Creates a type of [[areaportal]], used to optimize the visibility in a map. If you seal off an area with them, when the viewer moves the specified distance away from them, they will go opaque and the area through the window will not be drawn. The 'target' brush model should enclose the <code>func_areaportalwindow</code> so no parts of it are culled by the window. If you use the optional foreground brush model, then it should enclose the 'target' brush model.
{{optim_brush}}


=== See also ===
=== See also ===

Revision as of 19:37, 10 May 2008

Template:Wrongtitle Template:Base brush

Entity description

Creates a type of areaportal, used to optimize the visibility in a map. If you seal off an area with them, when the viewer moves the specified distance away from them, they will go opaque and the area through the window will not be drawn. The 'target' brush model should enclose the func_areaportalwindow so no parts of it are culled by the window. If you use the optional foreground brush model, then it should enclose the 'target' brush model.

See also

Keyvalues

<target_destination> The name of a brush entity to render as the window.
  • FadeStartDist
<integer> When the viewer is closer than this distance, the alpha is set to 'TranslucencyLimit'.
  • FadeDist
<integer> When the viewer is at this distance, the portal becomes solid and closes off.
  • TranslucencyLimit
<float> This value limits the translucency of the brush model and prevents it from becoming invisible when the viewer is right on top of it.
  • BackgroundBModel
<target_destination> (Optional) brush entity that is drawn after the fading brush model. This model should have alpha in its textures so you can see through it.

Inputs

Outputs