{"name":"BIS_fnc_richCurve_edenDrawControlPoints3D","title":"BIS fnc richCurve edenDrawControlPoints3D","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_richCurve_edenDrawControlPoints3D","revid":379571,"updated":"2026-10-31T14:00:14Z","groups":["Curve3DEN"],"status":"ok","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","description":"Draws the control points (keys) of a rich curve in the Eden Editor 3D view. For every key of the curve it draws three 2 m long lines from the key's position, showing the key's orientation: its direction (green), its up vector (blue) and the cross product of both (light red). If 3D icons are visible in Eden (see get3DENIconsVisible), the key's index is also written 4 m below the key, in green for a selected key and in white otherwise.\n\nThe drawing lasts one frame only, so the function has to be called every frame. It is used internally by BIS_fnc_richCurve_edenTick, which calls it while the left Ctrl key is held down in Eden.\n\n> [!NOTE]\n> The colour parameter described in the function's header is not used: the colours are fixed.","syntaxes":[{"syntax":"[curve] call BIS_fnc_richCurve_edenDrawControlPoints3D","params":[{"name":"curve","type":"Object","description":"the curve whose keys are drawn","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"text":"```sqf\n// as done by BIS_fnc_richCurve_edenTick on every frame\nif (missionNamespace getVariable [\"BIS_keyframe_controlPressed\", false]) then\n{\n    [_curve] call BIS_fnc_richCurve_edenDrawControlPoints3D;\n};\n```","code":["// as done by BIS_fnc_richCurve_edenTick on every frame\nif (missionNamespace getVariable [\"BIS_keyframe_controlPressed\", false]) then\n{\n\t[_curve] call BIS_fnc_richCurve_edenDrawControlPoints3D;\n};"]}],"see_also":["BIS_fnc_richCurve_edenTick","BIS_fnc_richCurve_edenDrawCurve3D","BIS_fnc_richCurve_getKeys","BIS_fnc_key_edenIsSelected"]}