void _GET_SCRIPT_GFX_POSITION(float x, float y, float* calculatedX, float* calculatedY);
| Property |
Value |
| Native Name |
_GET_SCRIPT_GFX_POSITION |
| Hash |
0x6DD8F5AA635EB4B2 |
| Return Type |
void |
| Parameters |
x (float), y (float), calculatedX (float*), calculatedY (float*) |
Description: Calculates the effective X/Y fractions when applying the values set by SET_SCRIPT_GFX_ALIGN and
SET_SCRIPT_GFX_ALIGN_PARAMS.
Parameters
x (float) — The input X coordinate.
y (float) — The input Y coordinate.
calculatedX (float*) — A pointer to the calculated X value.
calculatedY (float*) — A pointer to the calculated Y value.
Examples
local calcX, calcX = GetScriptGfxPosition(0.2, 0.2)
Back to GRAPHICS