lovr.headset.getDisplayHeight

Returns the height of the headset display (for one eye), in pixels.

height = lovr.headset.getDisplayHeight()

Arguments

None

Returns

NameTypeDescription
heightnumberThe height of the display.

See also