Settings
Requires API Version 1.0.0 or higher
The Settings API gives you access to various Luniris application settings, such as the eye mask or developer settings.
Values
luniris.settings.eyeMask
Eye Mask Configuration
You can modify the eye mask settings by following this guide.
-- From the bottom-right corner of the right display
local bottomRightX = luniris.settings.eyeMask.bottomRight.x
local bottomRightY = luniris.settings.eyeMask.bottomRight.y
-- From the top-left corner of the right display
local topLeftX = luniris.settings.eyeMask.topLeft.x
local topLeftY = luniris.settings.eyeMask.topLeft.y
Gets the top-left and bottom-right positions (in pixels) of the eye mask on the right display. You can use the eye mask to adjust the eye movements area.
luniris.settings.showFramerate
local showFramerate = luniris.settings.showFramerate
Gets whether the framerate indicator is displayed or not.