Emmanuele Bassi > Clutter > xs/ClutterBehaviourDepth.xs

Download:
Clutter-1.002.tar.gz

Annotate this POD

CPAN RT

New  2
Open  2
View Bugs
Report a bug
Source  

SYNOPSIS ^

    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();

DESCRIPTION ^

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

SEE ALSO ^

Clutter::Behaviour, Clutter::Alpha