lovr.system
EditThe lovr.system
provides information about the current platform and hardware.
Functions
lovr.system.getCoreCount | Get the number of logical cores. |
lovr.system.getOS | Get the current operating system. |
lovr.system.getWindowDensity | Get the window pixel density. |
lovr.system.getWindowDimensions | Get the dimensions of the window. |
lovr.system.getWindowHeight | Get the height of the window. |
lovr.system.getWindowWidth | Get the width of the window. |
lovr.system.isKeyDown | Get the state of a key. |
lovr.system.isWindowOpen | Check if the desktop window is open. |
lovr.system.openWindow | Open the desktop window. |
lovr.system.requestPermission | Request permission to use a feature. |