Clutter 0.8.2 Reference Manual | ||||
---|---|---|---|---|
ClutterBehaviourDepth; ClutterBehaviourDepthClass; ClutterBehaviour* clutter_behaviour_depth_new (ClutterAlpha *alpha, gint depth_start, gint depth_end); void clutter_behaviour_depth_set_bounds (ClutterBehaviourDepth *behaviour, gint depth_start, gint depth_end); void clutter_behaviour_depth_get_bounds (ClutterBehaviourDepth *behaviour, gint *depth_start, gint *depth_end);
ClutterBehaviourDepth is a simple ClutterBehaviour controlling the depth of a set of actors between a start and end depth.
ClutterBehaviourDepth is available since Clutter 0.4.
typedef struct { ClutterBehaviourClass parent_class; } ClutterBehaviourDepthClass;
ClutterBehaviour* clutter_behaviour_depth_new (ClutterAlpha *alpha, gint depth_start, gint depth_end);
Creates a new ClutterBehaviourDepth which can be used to control the ClutterActor:depth property of a set of ClutterActors.
|
a ClutterAlpha or NULL
|
|
initial value of the depth |
|
final value of the depth |
Returns : |
the newly created behaviour |
Since 0.4
void clutter_behaviour_depth_set_bounds (ClutterBehaviourDepth *behaviour, gint depth_start, gint depth_end);
Sets the boundaries of the behaviour
.
|
a ClutterBehaviourDepth |
|
initial value of the depth |
|
final value of the depth |
Since 0.6
void clutter_behaviour_depth_get_bounds (ClutterBehaviourDepth *behaviour, gint *depth_start, gint *depth_end);
Gets the boundaries of the behaviour
|
a ClutterBehaviourDepth |
|
return location for the initial depth value, or NULL
|
|
return location for the final depth value, or NULL
|
Since 0.6