{"hash":"0x63DFA6810AD78719","ns":"CAMERA","name":"SET_CAM_ROT","slug":"SET_CAM_ROT","official":true,"named":true,"luaName":"SetCamRot","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"cam","type":"Cam"},{"name":"rotX","type":"float"},{"name":"rotY","type":"float"},{"name":"rotZ","type":"float"},{"name":"rotationOrder","type":"int"}],"summary":"Sets the rotation of the cam.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets the rotation of the cam."}],"examples":[],"aliases":[],"enums":["eEulerRotationOrder"],"related":["0x9BF96B57254E7889"],"build":"1207","gtaHash":"0x85973643155D0B07","gtaJhash":"0xEE38B3C1","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/SET_CAM_ROT","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/SET_CAM_ROT.md","snippets":{"lua":"SetCamRot(cam, rotX, rotY, rotZ, rotationOrder)","luaInvoke":"Citizen.InvokeNative(0x63DFA6810AD78719, cam, rotX, rotY, rotZ, rotationOrder)","js":"SetCamRot(cam, rotX, rotY, rotZ, rotationOrder);","jsInvoke":"Citizen.invokeNative('0x63DFA6810AD78719', cam, rotX + 0.0000001, rotY + 0.0000001, rotZ + 0.0000001, rotationOrder);","csharp":"Function.Call((Hash)0x63DFA6810AD78719, cam, rotX, rotY, rotZ, rotationOrder);","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."]}}