Clutter::Clone3pm
An actor that displays a clone of a source actor
Usage
my $clone = Clutter::Clone->new($actor);
Overview
Clutter::Clone is a Clutter::Actor which draws with the paint function of another actor, scaled to fit its own allocation.
Clutter::Clone can be used to efficiently clone any other actor, including containers.
Note: This is different from Clutter::Texture::new_from_actor() which requires support for FBOs in the underlying GL implementation.
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Clutter::Actor+----Clutter::Clone
Interfaces
Glib::Object::_Unregistered::ClutterScriptable
Methods
actor = Clutter::Clone->new ($source)
- •
-
$source(Clutter::Actor)
actor = $clone->get_source
$clone->set_source ($source)
- •
-
$source(Clutter::Actor)
Properties
- 'source' (Clutter::Actor : readable / writable / construct-only / private)
-
Specifies the actor to be cloned