diff options
Diffstat (limited to 'tests/auto/studio3d/shared/presentation/mouse.uip')
-rw-r--r-- | tests/auto/studio3d/shared/presentation/mouse.uip | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/auto/studio3d/shared/presentation/mouse.uip b/tests/auto/studio3d/shared/presentation/mouse.uip new file mode 100644 index 0000000..edd9f95 --- /dev/null +++ b/tests/auto/studio3d/shared/presentation/mouse.uip @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<UIP version="3" > + <Project > + <ProjectSettings author="" company="" presentationWidth="800" presentationHeight="480" maintainAspect="False" /> + <Graph > + <Scene id="Scene" > + <Layer id="Layer" > + <Camera id="Camera" /> + <Light id="Light" /> + <Model id="Rectangle" > + <Material id="Material" /> + </Model> + <Model id="Rectangle2" > + <Material id="Material_001" /> + </Model> + </Layer> + </Scene> + </Graph> + <Logic > + <State name="Master Slide" component="#Scene" > + <Add ref="#Layer" /> + <Add ref="#Camera" /> + <Add ref="#Light" lighttype="Directional" position="0 0 -500" rotation="0 0 0" /> + <State id="Scene-Slide1" name="Slide1" playmode="Looping" > + <Set ref="#Layer" endtime="8000" /> + <Set ref="#Camera" endtime="8000" /> + <Set ref="#Light" endtime="8000" /> + <Add ref="#Rectangle" name="Rectangle" endtime="8000" position="668.283 7.21691 0" scale="13.3333 9.5252 1" sourcepath="#Rectangle" > + <Action id="Rectangle-Action" eyeball="True" triggerObject="#Rectangle" event="onPressureDown" targetObject="#Material" handler="Set Property" > + <HandlerArgument name="Property Name" type="String" argtype="Property" value="diffuse" /> + <HandlerArgument name="Property Value" type="Float3" argtype="Dependent" value="0 0 1" /> + </Action> + <Action id="Rectangle-Action_001" eyeball="True" triggerObject="#Rectangle" event="onPressureUp" targetObject="#Material" handler="Set Property" > + <HandlerArgument name="Property Name" type="String" argtype="Property" value="diffuse" /> + <HandlerArgument name="Property Value" type="Float3" argtype="Dependent" value="1 0 0" /> + </Action> + </Add> + <Add ref="#Material" diffuse="1 0 0" emissivecolor="1 1 1" emissivepower="1" /> + <Add ref="#Rectangle2" name="Rectangle2" endtime="8000" position="-528.276 -19.6247 0" scale="10.6053 8.67004 1" sourcepath="#Rectangle" > + <Action id="Rectangle2-Action" eyeball="True" triggerObject="#Rectangle2" event="onPressureDown" targetObject="#Material_001" handler="Set Property" > + <HandlerArgument name="Property Name" type="String" argtype="Property" value="diffuse" /> + <HandlerArgument name="Property Value" type="Float3" argtype="Dependent" value="0 1 0" /> + </Action> + <Action id="Rectangle2-Action_001" eyeball="True" triggerObject="#Rectangle2" event="onPressureUp" targetObject="#Material_001" handler="Set Property" > + <HandlerArgument name="Property Name" type="String" argtype="Property" value="diffuse" /> + <HandlerArgument name="Property Value" type="Float3" argtype="Dependent" value="0 0 1" /> + </Action> + </Add> + <Add ref="#Material_001" diffuse="0 0 1" /> + </State> + </State> + </Logic> + </Project> +</UIP> |