GRAPHICS

TERRAINGRID_SET_PARAMS

0x1C4FC5752BCD8E48 Jenkins: 0x3B637AA7

Signature

// GRAPHICS
void TERRAINGRID_SET_PARAMS(float x, float y, float z, float forwardX, float forwardY, float forwardZ, float sizeX, float sizeY, float sizeZ, float gridScale, float glowIntensity, float normalHeight, float heightDiff)

Parameters

Type Name
float x
float y
float z
float forwardX
float forwardY
float forwardZ
float sizeX
float sizeY
float sizeZ
float gridScale
float glowIntensity
float normalHeight
float heightDiff

Return type void

Build 323

Documentation

This native is used along with these two natives: `0xa356990e161c9e65` and `0x5ce62918f8d703c7`. This native configures the location, size, rotation, normal height, and the difference ratio between min, normal and max. All those natives combined they will output something like this: https://i.imgur.com/TC6cku6.png This native renders a box at the given position, with a special shader that renders a grid on world geometry behind it. This box does not have backface culling. The forward args here are a direction vector, something similar to what's returned by GET_ENTITY_FORWARD_VECTOR. normalHeight and heightDiff are used for positioning the color gradient of the grid, colors specified via TERRAINGRID_SET_COLOURS. Example with box superimposed on the image to demonstrate: https://i.imgur.com/wdqskxd.jpg

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.