<?xml version="1.0" encoding="utf-8"?>

<PropertyList>

  <path>gear_lever.ac</path>
  <animation>
    <!-- object name in ac file -->
    <object-name>gear_lever.GearLever</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gear_lever.GearLever</object-name>
    <condition>
      <not>
        <property>sim/rendering/rembrandt/enabled</property>
      </not>
    </condition>
    <emission>
      <red>   0.13 </red>
      <green> 0.13 </green>
      <blue>  0.13 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>gear_lever.GearLever</object-name>
    <property>/controls/gear/gear-down</property>
    <factor>15</factor>
    <center>
      <x-m>-3.5342</x-m>
      <y-m>-0.33443</y-m>
      <z-m>-0.54902</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>gear_lever.GearLever</object-name>
    <action>
      <button>0</button>
      <binding>
        <condition>
          <and>
            <not><property>/gear/gear[1]/wow</property></not>
            <not><property>/gear/gear[2]/wow</property></not>
          </and>
        </condition>
        <command>property-toggle</command>
        <property>/controls/gear/gear-down</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>Gear</tooltip-id>
        <label>Gear Up/Down</label>
      </binding>
    </hovered>
  </animation>


  <!--
================================================================================
                                                                        TEXT OSG
================================================================================
  -->
  <text>
    <name>gear_lever.textosg</name>
    <type type="string">literal</type>
    <text type="string">Gear Lever</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.016</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.06</max-height>
    <max-width>0.08</max-width>
    <font-resolution>
      <width type="int">64</width>
      <height type="int">64</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m>-3.42</x-m>
      <y-m>-0.3</y-m>
      <z-m>-.53</z-m>
    </offsets>
  </text>

  <animation>
    <type>material</type>
    <object-name>gear_lever.textosg</object-name>
    <emission>
      <red>1</red>
      <green>0.2</green>
      <blue>0.2</blue>
    </emission>
  </animation>
  <animation>
    <type>select</type>
    <object-name>gear_lever.textosg</object-name>
    <condition>
      <property>sim/panel-hotspots</property>
    </condition>
  </animation>


</PropertyList>
