Next: ClutterBehaviourEllipse, Previous: ClutterBehaviourBspline, Up: Top
A behaviour controlling the Z position
<clutter-behaviour-depth> is a simple <clutter-behaviour>
controlling the depth of a set of actors between a start and end depth.
<clutter-behaviour-depth> is available since Clutter 0.4.
Derives from
<clutter-behaviour>.This class defines the following slots:
depth-start- Initial depth to apply
depth-end- Final depth to apply
<clutter-alpha>) (depth_start int) (depth_end int) (ret <clutter-behaviour>)Creates a new
<clutter-behaviour-depth>which can be used to control the ClutterActor:depth property of a set of<clutter-actor>s.
- alpha
- a
<clutter-alpha>or ‘#f’- depth-start
- initial value of the depth
- depth-end
- final value of the depth
- ret
- the newly created behaviour
Since 0.4
<clutter-behaviour-depth>) (depth_start int) (depth_end int)Sets the boundaries of the behaviour.
- behaviour
- a
<clutter-behaviour-depth>- depth-start
- initial value of the depth
- depth-end
- final value of the depth
Since 0.6
<clutter-behaviour-depth>) (depth_start int) (depth_end int)Gets the boundaries of the behaviour
- behaviour
- a
<clutter-behaviour-depth>- depth-start
- return location for the initial depth value, or ‘
#f’- depth-end
- return location for the final depth value, or ‘
#f’Since 0.6