Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
clutter-1.0
Clutter
BehaviourPath
path
BehaviourPath
BehaviourPath.with_description
BehaviourPath.with_knots
get_path
set_path
knot_reached
BehaviourPath
Object Hierarchy:
Description:
[
Deprecated
( since =
"1.6"
) ]
public
class
BehaviourPath
:
Behaviour
,
Scriptable
Warning:
BehaviourPath is deprecated.
The
BehaviourPath
struct contains only private data
Namespace:
Clutter
Package:
clutter-1.0
Content:
Properties:
public
Path
path
{
set
;
get
; }
Creation methods:
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
.
public
BehaviourPath.with_description
(
Alpha
? alpha,
string
desc)
Creates a new path behaviour using the path described by
desc
. See
add_string
for a description of the format.
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.
Methods:
public
weak
Path
get_path
()
Get the current path of the behaviour
public
void
set_path
(
Path
path)
Change the path that the actors will follow. This will take the floating reference on the
Path
so you do not need to unref it.
Signals:
public
virtual
void
knot_reached
(
uint
knot_num)
This signal is emitted each time a node defined inside the path is reached.