{"hash":"0xF1F57F9D230F9CD1","ns":"CAMERA","name":"ADD_CAM_SPLINE_NODE","slug":"ADD_CAM_SPLINE_NODE","official":true,"named":true,"luaName":"AddCamSplineNode","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"camera","type":"Cam"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"xRot","type":"float"},{"name":"yRot","type":"float"},{"name":"zRot","type":"float"},{"name":"length","type":"int"},{"name":"p8","type":"int"},{"name":"p9","type":"int"}],"summary":"p7 (length) determines the length of the spline, affects camera path and duration of transition between previous node and this one p8 big values ~100 will slow down the camera movement before reaching this node p9 != 0 seems to override…","descriptions":[{"source":"alloc8or","format":"text","body":"p7 (length) determines the length of the spline, affects camera path and duration of transition between previous node and this one\n\np8 big values ~100 will slow down the camera movement before reaching this node\n\np9 != 0 seems to override the rotation/pitch (bool?)"}],"examples":[],"aliases":[],"enums":["eEulerRotationOrder"],"related":[],"build":"1207","gtaHash":"0x8609C75EC438FB3B","gtaJhash":"0xAD3C7EAA","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CAMERA/ADD_CAM_SPLINE_NODE","markdownUrl":"https://natives.borderlinerp.com/natives/CAMERA/ADD_CAM_SPLINE_NODE.md","snippets":{"lua":"AddCamSplineNode(camera, x, y, z, xRot, yRot, zRot, length, p8, p9)","luaInvoke":"Citizen.InvokeNative(0xF1F57F9D230F9CD1, camera, x, y, z, xRot, yRot, zRot, length, p8, p9)","js":"AddCamSplineNode(camera, x, y, z, xRot, yRot, zRot, length, p8, p9);","jsInvoke":"Citizen.invokeNative('0xF1F57F9D230F9CD1', camera, x + 0.0000001, y + 0.0000001, z + 0.0000001, xRot + 0.0000001, yRot + 0.0000001, zRot + 0.0000001, length, p8, p9);","csharp":"Function.Call((Hash)0xF1F57F9D230F9CD1, camera, x, y, z, xRot, yRot, zRot, length, p8, p9);","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."]}}