UWaterBodyComponent::GetConstantSurfaceZ

Returns what can be considered the single base Z of the water surface.