Log In
Sign Up
RDR3 match

GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD

0x3374F13934AF2850 ·RVA 0x03C0C570

Signature

BOOL GET_SCREEN_COORD_FROM_WORLD_COORD(
    Vector3 world,
    float* screenX,
    float* screenY
);

The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).

Parameters 3

#TypeNameNotes
0Vector3world –
1float*screenX –
2float*screenY –

Returns

BOOL

Notes

  • worldX, worldY and worldZ in RDR3 are one Vector3 in GTA VI.

Call it

// GRAPHICS::GET_SCREEN_COORD_FROM_WORLD_COORD
auto result = invoke<BOOL>(0x3374F13934AF2850, world, &screenX, &screenY);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.