[ CCode ( has_construct_function = false , type = "ClutterBehaviour*" ) ]
public BehaviourPath (Alpha? alpha, Path path)
Creates a new path behaviour.
You can use this behaviour to drive actors along the nodes of a path, described by path
.
This will claim the floating reference on the Path so you do not need to unref if it.
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 |
path |
a Path or |