<?xml version="1.0"?>

<PropertyList>

    <path>oat.ac</path>

    <effect>
        <inherits-from>../../../../Effects/interior/lm-oat</inherits-from>
        <object-name>OAT.needle</object-name>
        <object-name>OAT.face</object-name>
        <object-name>OAT.frame</object-name>
        <object-name>OAT</object-name>
    </effect>

    <animation>
        <type>material</type>
        <object-name>OAT.needle</object-name>
        <object-name>OAT.face</object-name>
        <object-name>OAT.frame</object-name>
        <object-name>OAT</object-name>
        <condition>
            <not>
                <property>/sim/rendering/shaders/skydome</property>
            </not>
        </condition>
        <emission>
            <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
            <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
            <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
        </emission>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>OAT.needle</object-name>
        <property>environment/temperature-degc</property>
        <offset-deg>130</offset-deg>
        <factor>2.166</factor>
        <!-- notice: 0 = -60 * 2.17 + 130, 260 = 60 * 2.17 + 130 -->
        <center>
            <x-m>-0.01822</x-m>
            <y-m> 0.44004</y-m>
            <z-m> 0.46520</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
</PropertyList>
