summaryrefslogtreecommitdiffstats
path: root/tests/auto/viewer/simple_cube_animation/simple_cube_animation.uip
blob: 225841275a50db8e803277bb2a03ae95049b6106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8" ?>
<UIP version="3" >
  <Project >
    <ProjectSettings author="" company="" presentationWidth="640" presentationHeight="480" maintainAspect="False" />
    <Graph >
      <Scene id="Scene" >
        <Layer id="Layer" >
          <Camera id="Camera" />
          <Light id="Light" />
          <Model id="Cube" >
            <Material id="Material" />
          </Model>
          <Model id="Cube_001" >
            <Material id="Material_001" />
          </Model>
        </Layer>
      </Scene>
    </Graph>
    <Logic >
      <State name="Master Slide" component="#Scene" >
        <Add ref="#Layer" />
        <Add ref="#Camera" >
          <AnimationTrack property="rotation.x" type="EaseInOut" />
          <AnimationTrack property="rotation.y" type="EaseInOut" />
          <AnimationTrack property="rotation.z" type="EaseInOut" />
        </Add>
        <Add ref="#Light" lightdiffuse="0 1 0" lightspecular="1 1 1" >
          <AnimationTrack property="rotation.x" type="EaseInOut" />
          <AnimationTrack property="rotation.y" type="EaseInOut" />
          <AnimationTrack property="rotation.z" type="EaseInOut" />
        </Add>
        <State id="Scene-Slide1" name="Slide1" playmode="Play Through To..." playthroughto="#Scene-Slide2" >
          <Add ref="#Cube" name="Cube" scale="1 1 1" sourcepath="#Cube" >
            <AnimationTrack property="rotation.x" type="EaseInOut" >0 0 100 100 0.963 45 100 100 1.926 45 100 100 2.944 45 100 100 6.942 0 100 100 8.022 0 100 100 8.98 0 100 100</AnimationTrack>
            <AnimationTrack property="rotation.y" type="EaseInOut" >0 0 100 100 0.963 0 100 100 1.926 45 100 100 2.944 45 100 100 6.942 45 100 100 8.022 0 100 100 8.98 0 100 100</AnimationTrack>
            <AnimationTrack property="rotation.z" type="EaseInOut" >0 0 100 100 0.963 0 100 100 1.926 0 100 100 2.944 45 100 100 6.942 45 100 100 8.022 45 100 100 8.98 0 100 100</AnimationTrack>
            <AnimationTrack property="scale.x" type="EaseInOut" dynamic="True" >0 1 100 100 3.958 2 100 100 4.902 2 100 100 5.981 2 100 100 10 1 100 100</AnimationTrack>
            <AnimationTrack property="scale.y" type="EaseInOut" dynamic="True" >0 1 100 100 3.958 1 100 100 4.902 2 100 100 5.981 2 100 100 10 1 100 100</AnimationTrack>
            <AnimationTrack property="scale.z" type="EaseInOut" dynamic="True" >0 1 100 100 3.958 1 100 100 4.902 1 100 100 5.981 2 100 100 10 1 100 100</AnimationTrack>
          </Add>
          <Add ref="#Material" />
        </State>
        <State id="Scene-Slide2" name="Slide2" initialplaystate="Play" playmode="Stop at end" playthroughto="Previous" >
          <Add ref="#Cube_001" name="Cube" scale="100 100 2" sourcepath="#Cube" />
          <Add ref="#Material_001" />
        </State>
      </State>
    </Logic>
  </Project>
</UIP>