set_cubic_bezier_progress


Description:

[ Version ( since = "1.12" ) ]
public void set_cubic_bezier_progress (Point c_1, Point c_2)

Sets the progress_mode of this to CUBIC_BEZIER, and sets the two control points for the cubic bezier.

The cubic bezier curve is between (0, 0) and (1, 1). The X coordinate of the two control points must be in the [ 0, 1 ] range, while the Y coordinate of the two control points can exceed this range.

Parameters:

this

a Timeline

c_1

the first control point for the cubic bezier

c_2

the second control point for the cubic bezier