engineSetRenderScale
Client
Sets the fraction of the window's resolution the 3D scene is rendered at. The image is then scaled up to the window's size.
bool engineSetRenderScale(float scale)
Parameters
| Name | Type | Description |
|---|---|---|
| scale | float | From 0.5 to 1. Anything else raises an error. |
Returns
true if the setting was applied, false if the renderer is not running.
The setting applies to the whole client and stays after the resource stops.
Example
engineSetRenderScale(0.75)