lovr.headset.getDisplayHeight

Returns the height of the headset display (both eyes), in pixels.

height = lovr.headset.getDisplayHeight()

Arguments

None

Returns

NameTypeDescription
heightnumberThe height of the display.

See also