gta.aspectRatio: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Gta.aspectRatio to gta.aspectRatio) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = gta.aspectRatio | ||
|side = client | |||
|type = variable | |type = variable | ||
| | |games = iii vc sa iv | ||
| | |desc = fetch the aspect ratio of the game window | ||
|return = float a floating point number, representing the aspect ratio of the game window | |||
|readonly = true | |readonly = true | ||
}} | }} |
Latest revision as of 20:36, 19 November 2022
Variable
Client Only
Online and Offline
Read-Only
Available since Client 1.0.0
float gta.aspectRatio
The gta.aspectRatio variable is used to fetch the aspect ratio of the game window.
Value
float | A floating point number, representing the aspect ratio of the game window. |
readonly | This variable cannot be changed. |
Notes
There aren't any notes for this variable.
Examples
There aren't any examples for this variable.
Compatibility
There isn't any compatibility information for this variable.
Related
Client Related
getScreenFromWorldPosition
getWorldFromScreenPosition
gta.aspectRatio
gta.height
gta.width