UTIL_WaterLevel
Jump to navigation
Jump to search
UTIL_WaterLevel is a UTIL function that measures the height of water within a bounding box.
Tip: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 );