lovr.headset.getDisplayDimensions

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

width, height = lovr.headset.getDisplayDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumberThe width of the display.
heightnumberThe height of the display.

See also