A vertical unit is defined as half the height of one quarternote-notehead.
As a consequence staff lines are separated two units by definition.
Whenever you make an offset to a vertical position of an object it is measured in vertical units.
see also horizontal units, layout dialog