{"name":"BIN_fnc_bezier","operator":null,"title":"BIN fnc bezier","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_bezier","revid":363588,"updated":"2024-04-07T18:16:46Z","groups":["Interpolation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Calculate bezier curve\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0, param1] call BIN_fnc_bezier","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"Array","types":["Array"],"optional":false,"default":null,"description":"list of control points in format [x,y,z], can be any number of them","since":null,"text":"0: ARRAY - list of control points in format [x,y,z], can be any number of them","source":"docblock"},{"name":"param1","type":"Number","types":["Number"],"optional":false,"default":null,"description":"progress in range 0 to 1","since":null,"text":"1: NUMBER - progress in range 0 to 1","source":"docblock"}],"returns":{"type":"Array","types":["Array"],"description":null,"text":"ARRAY - position curve in format [x,y,z]","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Interpolation","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":null,"description":"Calculate bezier curve","params":[{"index":0,"name":null,"types":["Array"],"optional":false,"default":null,"description":"list of control points in format [x,y,z], can be any number of them","text":"ARRAY - list of control points in format [x,y,z], can be any number of them"},{"index":1,"name":null,"types":["Number"],"optional":false,"default":null,"description":"progress in range 0 to 1","text":"NUMBER - progress in range 0 to 1"}],"returns":{"types":["Array"],"text":"ARRAY - position curve in format [x,y,z]"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nCalculate bezier curve\n\nParameter(s):\n    0: ARRAY - list of control points in format [x,y,z], can be any number of them\n    1: NUMBER - progress in range 0 to 1\n\nReturns:\nARRAY - position curve in format [x,y,z]"},"filled_from_docblock":["params","syntax","returns","description"]}