~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to tests/data/test-animator-3.json

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-03-21 13:27:56 UTC
  • mto: (2.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100321132756-nf8yd30yxo3zzwcm
Tags: upstream-1.2.2
ImportĀ upstreamĀ versionĀ 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[
 
2
  {
 
3
    "type" : "ClutterRectangle",
 
4
    "id" : "foo",
 
5
    "x" : 0,
 
6
    "y" : 0,
 
7
    "width" : 100,
 
8
    "height" : 100
 
9
  },
 
10
  {
 
11
    "type" : "ClutterAnimator",
 
12
    "id" : "animator",
 
13
    "duration" : 1000,
 
14
 
 
15
    "properties" : [
 
16
      {
 
17
        "object" : "foo",
 
18
        "name" : "x",
 
19
        "ease-in" : true,
 
20
        "interpolation" : "linear",
 
21
        "keys" : [
 
22
          [ 0.0, "easeInCubic",  100.0 ],
 
23
          [ 0.2, "easeOutCubic", 150.0 ],
 
24
          [ 0.8, "linear",       200.0 ]
 
25
        ]
 
26
      },
 
27
      {
 
28
        "object" : "foo",
 
29
        "name" : "y",
 
30
        "ease-in" : true,
 
31
        "interpolation" : "linear",
 
32
        "keys" : [
 
33
          [ 0.0, "easeInCubic",  100.0 ],
 
34
          [ 0.2, "easeOutCubic", 150.0 ],
 
35
          [ 0.8, "linear",       200.0 ]
 
36
        ]
 
37
      }
 
38
    ]
 
39
  }
 
40
]