tachoBackground.uip 3.9 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<UIP version="5" >
3
	<Project >
4
		<ProjectSettings author="" company="" presentationWidth="512" presentationHeight="512" maintainAspect="False" preferKtx="False" >
5 6 7
			<CustomColors count="16" >#ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff</CustomColors>
		</ProjectSettings>
		<BufferData >
8
                        <ImageBuffer sourcepath="../meshes/Gauges/maps/gaugetacho.png" hasTransparency="True" />
9 10 11
		</BufferData>
		<Graph >
			<Scene id="Scene" >
12
				<Layer id="Layer" variants="" >
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
					<Camera id="Camera" />
					<Model id="speed_mph_new" >
						<Material id="Material" >
							<Image id="Material_diffusemap" />
						</Material>
					</Model>
					<Component id="gaugespeed_background" >
						<Model id="gaugespeed_background_001" >
							<Material id="Material_002" >
								<Image id="Material_002_diffusemap" />
							</Material>
						</Model>
					</Component>
				</Layer>
			</Scene>
		</Graph>
		<Logic >
			<State name="Master Slide" component="#Scene" >
31
				<Add ref="#Layer" name="TachoTextures" background="Transparent" disabledepthprepass="True" disabledepthtest="False" />
32
				<Add ref="#Camera" orthographic="True" />
33
				<Add ref="#speed_mph_new" name="tacho" opacity="100" scale="5.12 5.12 1" sourcepath="#Rectangle" >
34 35 36
					<AnimationTrack property="opacity" type="EaseInOut" >0 100 0 0</AnimationTrack>
				</Add>
				<Add ref="#Material" diffusemap="#Material_diffusemap" shaderlighting="None" />
37
                                <Add ref="#Material_diffusemap" sourcepath="../meshes/Gauges/maps/gaugetacho.png" />
38
				<Add ref="#gaugespeed_background" name="gaugetacho_background" controlledproperty="$colorSlide @slide" />
39 40 41 42 43 44 45 46 47 48
				<State id="Scene-Tacho" name="Tacho" playmode="Stop at end" >
					<Set ref="#Layer" endtime="1000" />
					<Set ref="#Camera" endtime="1000" />
					<Set ref="#speed_mph_new" endtime="1000" opacity="100" >
						<AnimationTrack property="opacity" type="EaseInOut" dynamic="True" />
					</Set>
					<Set ref="#gaugespeed_background" endtime="1000" />
				</State>
			</State>
			<State name="Master Slide" component="#gaugespeed_background" >
49
				<Add ref="#gaugespeed_background_001" name="gaugetacho_background" endtime="1000" scale="5.12 5.12 1" sourcepath="#Rectangle" />
50 51 52 53 54
				<Add ref="#Material_002" diffuse="1 1 1" diffusemap="#Material_002_diffusemap" shaderlighting="None" >
					<AnimationTrack property="diffuse.x" type="EaseInOut" >0 1 0 0</AnimationTrack>
					<AnimationTrack property="diffuse.y" type="EaseInOut" >0 1 0 0</AnimationTrack>
					<AnimationTrack property="diffuse.z" type="EaseInOut" >0 1 0 0</AnimationTrack>
				</Add>
55
                                <Add ref="#Material_002_diffusemap" sourcepath="../meshes/Gauges/maps/gaugespeed_background.jpg" />
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
				<State id="gaugetacho_background-red" name="red" playthroughto="Next" >
					<Set ref="#gaugespeed_background_001" endtime="1000" />
					<Set ref="#Material_002" diffuse="1 1 1" >
						<AnimationTrack property="diffuse.x" type="EaseInOut" dynamic="True" >0 0 0 0 1 1 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.y" type="EaseInOut" dynamic="True" >0 0 0 0 1 0 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.z" type="EaseInOut" dynamic="True" >0 1 0 0 1 0 0 0</AnimationTrack>
					</Set>
				</State>
				<State id="gaugetacho_background-blue" name="blue" playthroughto="Previous" >
					<Set ref="#gaugespeed_background_001" endtime="1000" />
					<Set ref="#Material_002" diffuse="1 1 1" >
						<AnimationTrack property="diffuse.x" type="EaseInOut" dynamic="True" >0 1 0 0 1 0 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.y" type="EaseInOut" dynamic="True" >0 0 0 0 1 0 0 0</AnimationTrack>
						<AnimationTrack property="diffuse.z" type="EaseInOut" dynamic="True" >0 0 0 0 1 1 0 0</AnimationTrack>
					</Set>
				</State>
			</State>
		</Logic>
	</Project>
</UIP>