UTIL_WaterLevel

From Valve Developer Community
Revision as of 19:55, 2 November 2021 by Amicdict (talk | contribs) (Created page with "{{lang|UTIL WaterLevel|title=<code>UTIL_WaterLevel</code>}} {{ent|UTIL_WaterLevel}} is a UTIL function that measures the height of water within a bounding box. {{tip|{{en...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

UTIL_WaterLevel is a UTIL function that measures the height of water within a bounding box.

Tip.pngTip:CWaterTraceFilter should be used instead as it is less expensive than UTIL_WaterLevel.[1]

Declaration

float UTIL_WaterLevel( const Vector &position, float minz, float maxz );