Get Primary Monitor Size
PureGetPrimaryMonitorSizeReturns the primary monitor's native resolution.
Type: Pure (no side effects)
Category: Fortuna|Platform & System
Keywords: platform & system
Outputs
| Name | Type | Description |
|---|---|---|
| Width | int | Width output |
| Height | int | Height output |
Example Use Cases
Example 1
Set default windowed mode to 80% of monitor size.
Example 2
Scale UI elements to physical screen size.