<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <params>
    <nav-to-flag>/instrumentation/nav[1]/to-flag</nav-to-flag>
    <nav-from-flag>/instrumentation/nav[1]/from-flag</nav-from-flag>
    <nav-radial-selected>/instrumentation/nav[1]/radials/selected-deg</nav-radial-selected>
    <nav-gs-needle-deflection>/instrumentation/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
    <nav-heading-needle-deflection>/instrumentation/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
    <nav-in-range>/instrumentation/nav[1]/in-range</nav-in-range>
  </params>

  <path>vor.ac</path>

  <animation>
    <object-name>VOR.fond</object-name>
    <object-name>VOR.visses</object-name>
    <object-name>VOR.knob</object-name>
    <object-name>VOR.ring</object-name>
    <object-name>VOR.face</object-name>
    <object-name>VOR.LocalizerNeedle</object-name>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <object-name>VOR.FR</object-name>
    <object-name>VOR.TO</object-name>
    <object-name>VOR.NAV</object-name>

    <object-name>VOR.vitre</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>VOR.fond</object-name>
    <object-name>VOR.visses</object-name>
    <object-name>VOR.knob</object-name>
    <object-name>VOR.ring</object-name>
    <object-name>VOR.face</object-name>
    <object-name>VOR.LocalizerNeedle</object-name>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <object-name>VOR.FR</object-name>
    <object-name>VOR.TO</object-name>
    <object-name>VOR.NAV</object-name>
    <object-name>VOR.vitre</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../../../../Effects/Glass/glass</inherits-from>
    <object-name>VOR.vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>VOR.knob</object-name>
    <object-name>VOR.ring</object-name>
    <object-name>VOR.face</object-name>
    <object-name>VOR.LocalizerNeedle</object-name>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <object-name>VOR.FR</object-name>
    <object-name>VOR.TO</object-name>
    <object-name>VOR.NAV</object-name>
    <condition>
      <property>/controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <animation>
    <name>LocalizerNeedleTransform</name>
    <type>rotate</type>
    <object-name>VOR.LocalizerNeedle</object-name>
    <property alias="../../params/nav-heading-needle-deflection"/>
    <factor> -3.2 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <condition>
      <property alias="../../../params/nav-in-range"/>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.NAV</object-name>
    <condition>
      <not>
        <property alias="../../../../params/nav-in-range"/>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.TO</object-name>
    <condition>
      <property alias="../../../params/nav-to-flag"/>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.FR</object-name>
    <condition>
      <property alias="../../../params/nav-from-flag"/>
    </condition>
  </animation>

  <animation>
    <name>GlidescopeNeedleTransform</name>
    <type>rotate</type>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <property alias="../../params/nav-gs-needle-deflection"/>
    <factor> -3.2 </factor>
    <min-deg> -32 </min-deg>
    <max-deg> 32 </max-deg>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>RingTransform</name>
    <type>rotate</type>
    <object-name>VOR.ring</object-name>
    <property alias="../../params/nav-radial-selected"/>
    <factor> -1 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>VOR.knob</object-name>
    <property alias="../../params/nav-radial-selected"/>
    <center>
      <x-m>  0.01258 </x-m>
      <y-m> -0.03076 </y-m>
      <z-m> -0.03513 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Hotspot -->
  <animation>
    <type>pick</type>
    <object-name>VOR.knob</object-name>
    <visible>true</visible>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/nav[1]/radials/selected-deg</property>
        <step>1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/nav[1]/radials/selected-deg</property>
        <step>-1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
