Clutter::Behaviour::Depth(3pm)

Clutter::Behaviour::Depth3pm

A behaviour controlling the z position

Usage

    my $behaviour = Clutter::Behaviour::Depth->new();
    $behaviour->set_alpha(Clutter::Alpha->new($timeline, 'ease-in-sine'));
    $behaviour->set_bounds(-200, 200);
    $behaviour->apply($rectangle);
    $behaviour->apply($texture);
    $timeline->start();

Overview

Clutter::Behaviour::Depth is a simple Clutter::Behaviour controlling the depth of a set of actors between a start and end value.

Hierarchy

  Glib::Object
  +----Clutter::Behaviour
       +----Clutter::Behaviour::Depth

Methods

behaviour = Clutter::Behaviour::Depth->new ($alpha=undef, $depth_start, $depth_end)

•

$alpha (Clutter::Alpha or undef)

•

$depth_start (integer)

•

$depth_end (integer)

(start, end) = $behaviour->get_bounds

$behaviour->set_bounds ($start, $end)

•

$start (integer)

•

$end (integer)

Properties

'depth-end' (integer : readable / writable / private)

Final depth to apply

'depth-start' (integer : readable / writable / private)

Initial depth to apply

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

From libclutter-perl 1.002-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.