<?xml version="1.0"?>
<PropertyList>

  <path>canopy-controls.ac</path>

  <animation>
    <type>rotate</type>
    <object-name>canopy-switch</object-name>
    <property>sim/model/A-6E/controls/canopy/canopy-switch</property>
    <factor>25</factor>
    <center>
      <x-m>0.0026</x-m>
      <y-m>0.0000</y-m>
      <z-m>0.0270</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>


  <animation>
    <name>canopy-close</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>canopy-switch</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>A6Econtrols.canopyswitch(-1)</script>
      </binding>
    </action>
  </animation>
  <animation>
    <name>canopy-open</name>
    <type>pick</type>
    <visible>true</visible>
    <object-name>canopy-switch</object-name>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>A6Econtrols.canopyswitch(1)</script>
      </binding>
    </action>
  </animation>


  <!-- lighting -->

  <animation>
    <object-name>canopy-control</object-name>
    <type>material</type>
    <condition><not><property>sim/rendering/rembrandt/enabled</property></not></condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.385</red>
      <green>0.192</green>
      <blue>0.08</blue>
    </emission>
  </animation>

  <animation>
    <type>range</type>
    <min-m>0</min-m>
    <max-m>15</max-m>
  </animation>

</PropertyList>
