ClutterBehaviourDepth

ClutterBehaviourDepth — Behaviour controlling the depth

Synopsis




ClutterBehaviour*   clutter_behaviour_depth_new         (ClutterAlpha *alpha,
                                                         gint start_depth,
                                                         gint end_depth);


Description

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.

Details

clutter_behaviour_depth_new ()

ClutterBehaviour*   clutter_behaviour_depth_new         (ClutterAlpha *alpha,
                                                         gint start_depth,
                                                         gint end_depth);

Creates a new ClutterBehaviourDepth which can be used to control the ClutterActor:depth property of a set of ClutterActors.

alpha : a ClutterAlpha or NULL
start_depth : start depth
end_depth : end depth
Returns : the newly created behaviour

Since 0.4