{"hash":"0x2E941B5FFA2989C6","ns":"CAMERA","name":"IS_SPHERE_VISIBLE","slug":"IS_SPHERE_VISIBLE","official":true,"named":true,"luaName":"IsSphereVisible","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xE33D59DA70B58FDF","gtaJhash":"0xDD1329E2","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/CAMERA/IS_SPHERE_VISIBLE","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/IS_SPHERE_VISIBLE.md","snippets":{"lua":"local retval = IsSphereVisible(x, y, z, radius)","luaInvoke":"local retval = Citizen.InvokeNative(0x2E941B5FFA2989C6, x, y, z, radius, Citizen.ReturnResultAnyway())","js":"const retval = IsSphereVisible(x, y, z, radius);","jsInvoke":"const retval = Citizen.invokeNative('0x2E941B5FFA2989C6', x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x2E941B5FFA2989C6, x, y, z, radius);","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."]}}