Func areaportalwindow: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleaned)
mNo edit summary
Line 16: Line 16:
: [[Unit]] boundaries of the fadeout.
: [[Unit]] boundaries of the fadeout.
; Translucency limit <code><[[normal]]></code>
; Translucency limit <code><[[normal]]></code>
: Prevents the ''Rendered Window'' brush from ever going completely transparent.
: Prevents the ''Rendered Window'' brush from ever going completely transparent. Useful if your rendered window uses an opaque glass material.
; Foreground bmodel <code><targetname></code>
; Foreground bmodel <code><targetname></code>
: 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.
: 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.

Revision as of 15:57, 15 November 2009

Template:Base brush It creates an areaportal that automatically closes as the camera moves away, fading a second, opaque brush in to fill the gap.

See also

Keyvalues

Rendered Window <targetname>
The brush entity that fills the gap left by the portal when closed.
Fade Start Distance <int>
Fade End Distance <int>
Unit boundaries of the fadeout.
Translucency limit <normal>
Prevents the Rendered Window brush from ever going completely transparent. Useful if your rendered window uses an opaque glass material.
Foreground bmodel <targetname>
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.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

SetFadeStartDistance <int>
SetFadeEndDistance <int>
The unit boundaries of the fadeout.


Outputs