GObject.Object
GObject.InitiallyUnowned
Clutter.ActorMeta
Clutter.Effect
Clutter.OffscreenEffect
Clutter.DeformEffect
Clutter.PageTurnEffect
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterPageTurnEffect |
Class : | PageTurnEffect |
Extends: | Clutter.DeformEffect |
Properties | Defined By | |
---|---|---|
actor : Clutter.Actor
read only
The ClutterActor attached to the ClutterActorMeta instance
The ClutterActor attached to the ClutterActorMeta instance
|
Clutter.ActorMeta | |
angle : gdouble
The angle of the page rotation, in degrees, between 0.0 and 360.0
The angle of the page rotation, in degrees, between 0.0 and 360.0
|
Clutter.PageTurnEffect | |
enabled : gboolean
Whether or not the ClutterActorMeta is enabled
Whether or not the ClutterActorMeta is enabled
|
Clutter.ActorMeta | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
name : String
The unique name to access the ClutterActorMeta
The unique name to access the ClutterActorMeta
|
Clutter.ActorMeta | |
parent_instance : Clutter.OffscreenEffect
read only
|
Clutter.DeformEffect | |
period : gdouble
The period of the page turn, between 0.0 (no curling) and
1.0 (fully curled) The period of the page turn, between 0.0 (no curling) and
1.0 (fully curled) |
Clutter.PageTurnEffect | |
priv : Clutter.DeformEffectPrivate
read only
|
Clutter.DeformEffect | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
radius : gfloat
The radius of the page curl, in pixels
The radius of the page curl, in pixels
|
Clutter.PageTurnEffect | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
x_tiles : guint32
The number of horizontal tiles.
The number of horizontal tiles. The bigger the number, the
smaller the tiles |
Clutter.DeformEffect | |
y_tiles : guint32
The number of vertical tiles.
The number of vertical tiles. The bigger the number, the
smaller the tiles |
Clutter.DeformEffect |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.PageTurnEffect
(Object properties)
Create a new Clutter.PageTurnEffect
Create a new Clutter.PageTurnEffect
|
||
Create a new Clutter.PageTurnEffect
Create a new Clutter.PageTurnEffect
|
||
Clutter.OffscreenEffect | ||
get_actor
()
:
Clutter.Actor
Retrieves a pointer to the ClutterActor that owns meta
Retrieves a pointer to the ClutterActor that owns meta
|
Clutter.ActorMeta | |
get_angle
()
:
gdouble
Retrieves the value set using clutter_page_turn_effect_get_angle()
Retrieves the value set using clutter_page_turn_effect_get_angle()
|
Clutter.PageTurnEffect | |
get_back_material
()
:
void*
Retrieves the handle to the back face material used by effect
The returned material is owned by the ClutterDeformEffect and it should not be freed directly
Retrieves the handle to the back face material used by effect
The returned material is owned by the ClutterDeformEffect and it should not be freed directly
|
Clutter.DeformEffect | |
get_enabled
()
:
gboolean
Retrieves whether meta is enabled
Retrieves whether meta is enabled
|
Clutter.ActorMeta | |
get_n_tiles
()
:
Object
|
Clutter.DeformEffect | |
get_name
()
:
String
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set.
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set. The returned string is owned by the ClutterActorMeta instance and it should not be modified or freed
|
Clutter.ActorMeta | |
get_period
()
:
gdouble
Retrieves the value set using clutter_page_turn_effect_get_period()
Retrieves the value set using clutter_page_turn_effect_get_period()
|
Clutter.PageTurnEffect | |
get_radius
()
:
gfloat
Retrieves the value set using clutter_page_turn_effect_set_radius()
Retrieves the value set using clutter_page_turn_effect_set_radius()
|
Clutter.PageTurnEffect | |
get_target
()
:
Cogl.Material
Retrieves the material used as a render target for the offscreen
buffer created by effect COGL_INVALID_HANDLE.
Retrieves the material used as a render target for the offscreen
buffer created by effect COGL_INVALID_HANDLE. The returned handle is owned by Clutter and it should not be modified or freed
|
Clutter.OffscreenEffect | |
invalidate
()
:
none
Invalidates the effect's vertices and, if it is associated
to an actor, it will queue a redraw
Invalidates the effect's vertices and, if it is associated
to an actor, it will queue a redraw
|
Clutter.DeformEffect | |
paint_target
()
:
none
Calls the paint_target() virtual function of the effect
Calls the paint_target() virtual function of the effect
|
Clutter.OffscreenEffect | |
set_angle
(gdouble angle)
:
none
Sets the angle of the page curling, in degrees
Sets the angle of the page curling, in degrees
|
Clutter.PageTurnEffect | |
set_back_material
(void* material)
:
none
Sets the material that should be used when drawing the back face
of the actor during a deformation The ClutterDeformEffect will take a reference on the material's handle
Sets the material that should be used when drawing the back face
of the actor during a deformation The ClutterDeformEffect will take a reference on the material's handle
|
Clutter.DeformEffect | |
set_enabled
(gboolean is_enabled)
:
none
Sets whether meta should be enabled or not
Sets whether meta should be enabled or not
|
Clutter.ActorMeta | |
Sets the number of horizontal and vertical tiles to be used
when applying the effect More tiles allow a finer grained deformation at the expenses of computation
Sets the number of horizontal and vertical tiles to be used
when applying the effect More tiles allow a finer grained deformation at the expenses of computation
|
Clutter.DeformEffect | |
set_name
(String name)
:
none
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
|
Clutter.ActorMeta | |
set_period
(gdouble period)
:
none
Sets the period of the page curling, between 0.0 (no curling)
and 1.0 (fully curled)
Sets the period of the page curling, between 0.0 (no curling)
and 1.0 (fully curled)
|
Clutter.PageTurnEffect | |
set_radius
(gfloat radius)
:
none
Sets the radius of the page curling
Sets the radius of the page curling
|
Clutter.PageTurnEffect |
None |