lovr.headset.getDisplayWidth

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

width = lovr.headset.getDisplayWidth()

Arguments

None

Returns

NameTypeDescription
widthnumberThe width of the display.

See also