[ CCode ( has_construct_function = false , type = "ClutterBehaviour*" ) ]
[ Version ( since = "1.0" ) ]
public BehaviourPath.with_knots (Alpha? alpha, Knot[] knots)
Creates a new path behaviour that will make the actors visit all of the given knots in order with straight lines in between.
A path will be created where the first knot is used in a clutter_path_move_to and the subsequent knots are used in clutter_path_line_to<!-- -->s.
If alpha is not null, the
Behaviour will take ownership of the Alpha instance. In the case when alpha
is null, it can be set later with
set_alpha.
| alpha |
a Alpha instance, or null |
| knots |
an array of Knot<!-- -->s |
| n_knots |
number of entries in |