getMonitorDisplayScaling
Script::getMonitorDisplayScaling
Returns the display scaling of the main monitor.
Declaration
float getMonitorDisplayScaling();
Parameters
None.
Returns
The display scaling of the main monitor. By default, the value is 1.0f
. A display scaling of, for example, 150% will result in a value of 1.5f
.