lovr.headset.getDisplayWidth

Edit

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

width = lovr.headset.getDisplayWidth()

Arguments

None

Returns

NameTypeDescription
widthnumber The width of the display.

See also