{"hash":"0x27219300C36A8D40","ns":"GRAPHICS","name":"SET_GRASS_CULL_SPHERE","slug":"SET_GRASS_CULL_SPHERE","official":true,"named":true,"luaName":"SetGrassCullSphere","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"p3","type":"float"},{"name":"p4","type":"int"}],"summary":"Returns handle to be used with REMOVE_GRASS_CULL_SPHERE","descriptions":[{"source":"alloc8or","format":"text","body":"Returns handle to be used with REMOVE_GRASS_CULL_SPHERE"}],"examples":[],"aliases":[],"enums":[],"related":["0xAE7BF7CA9E4BA48D"],"build":"1207","gtaHash":"0xBE197EAA669238F4","gtaJhash":"","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/SET_GRASS_CULL_SPHERE","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/SET_GRASS_CULL_SPHERE.md","snippets":{"lua":"local retval = SetGrassCullSphere(x, y, z, p3, p4)","luaInvoke":"local retval = Citizen.InvokeNative(0x27219300C36A8D40, x, y, z, p3, p4, Citizen.ResultAsInteger())","js":"const retval = SetGrassCullSphere(x, y, z, p3, p4);","jsInvoke":"const retval = Citizen.invokeNative('0x27219300C36A8D40', x + 0.0000001, y + 0.0000001, z + 0.0000001, p3 + 0.0000001, p4, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x27219300C36A8D40, x, y, z, p3, p4);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}