1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/clock/clock.xml

92 lines
2.5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>clock.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-clock</inherits-from>
<object-name>SecondHand</object-name>
<object-name>MinuteHand</object-name>
<object-name>HourHand</object-name>
<object-name>Face</object-name>
<object-name>Case</object-name>
</effect>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>SecondHand</object-name>
<object-name>MinuteHand</object-name>
<object-name>HourHand</object-name>
<object-name>Case</object-name>
<condition>
<or>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
<equals>
<property>/sim/rendering/shaders/model</property>
<value>0</value>
</equals>
</or>
</condition>
<emission>
<red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
<green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
<blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>SecondHand</object-name>
<property>/sim/model/c172p/local-time-seconds</property>
<factor>6</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37012</x-m>
<y-m>-0.38847</y-m>
<z-m> 0.08227</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>MinuteHand</object-name>
<property>/sim/model/c172p/local-time-seconds</property>
<factor>0.1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37012</x-m>
<y-m>-0.38847</y-m>
<z-m> 0.08227</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>HourHand</object-name>
<property>/sim/model/c172p/local-time-seconds</property>
<factor>0.008333</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>-0.37012</x-m>
<y-m>-0.38847</y-m>
<z-m> 0.08227</z-m>
</center>
</animation>
</PropertyList>