gta.aspectRatio

From GTA Connected
(Redirected from Gta.aspectRatio)
Jump to navigation Jump to search

Variable Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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

icon-iii.png icon-vc.png icon-sa.png getScreenFromWorldPosition
icon-iii.png icon-vc.png icon-sa.png getWorldFromScreenPosition
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.aspectRatio
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.height
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.width