ClutterTransitionGroup scripting
- From: Dave Craig <dcraig brightsign biz>
- To: "clutter-list gnome org" <clutter-list gnome org>
- Subject: ClutterTransitionGroup scripting
- Date: Fri, 6 Dec 2013 04:26:39 -0600
Hi
In my program I have a clutter actor to which I'd like to apply a varierty of scripted transition. What I'm
looking for is an example of some clutter script JSON showing some transitions grouped inside a
ClutterTransitionGroup. My current JSON looks like this:
{
"id" : "ShowTransition",
"type" : "ClutterTransitionGroup",
"remove-on-complete" : true,
"duration" : 1000,
"group" : [
{
"id" : "ShowOpacity",
"type" : "ClutterKeyframeTransition",
"property-name" : "opacity",
"keys" : [
[ 1.0, 255, "easeInCubic" ]
]
}
]
}
From looking at the source code, I don't think 'keys' is supported in the same way as in ClutterAnimator
which is why this script parses, but doesn't have any effect. Can anyone point me in the direction of the
correct syntax please,
Thanks,
Dave Craig.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]