Debian Codegraph @

Aircraft/Generic/pointlight.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <PropertyList>
3
4 <path>light.ac</path>
5 <nopreview/>
6
7 <params>
8 <power-source>/controls/lighting/nav-lights</power-source>
9 <name>pointlight</name>
10 <x-m>0</x-m>
11 <y-m>0</y-m>
12 <z-m>0</z-m>
13 <direction>
14 <x/>
15 <y/>
16 <z/>
17 </direction>
18 <ambient>
19 <r>0.5</r>
20 <g>0.5</g>
21 <b>0.4</b>
22 </ambient>
23 <specular>
24 <r>1.0</r>
25 <g>1.0</g>
26 <b>1.0</b>
27 </specular>
28 <attenuation>
29 <c>1.0</c>
30 <l>0.7</l>
31 <q>1.1</q>
32 </attenuation>
33 <inner-angle>0.75</inner-angle>
34 <outer-angle>0.85</outer-angle>
35 <zero-angle>0.9</zero-angle>
36 <outer-gain>0.1</outer-gain>
37 <dist-scale>1.5</dist-scale>
38 <range-m>50</range-m>
39 </params>
40
41 <animation>
42 <type>scale</type>
43 <x-offset>0.175</x-offset>
44 <y-offset>0.175</y-offset>
45 <z-offset>0.175</z-offset>
46 </animation>
47
48 <animation>
49 <type>scale</type>
50 <object-name>light</object-name>
51 <property>sim/current-view/z-offset-m</property>
52 <x-min>1.0</x-min>
53 <y-min>1.0</y-min>
54 <z-min>1.0</z-min>
55 <x-factor>-0.065</x-factor>
56 <y-factor>-0.065</y-factor>
57 <z-factor>-0.065</z-factor>
58 </animation>
59
60 <animation>
61 <type>dist-scale</type>
62 <object-name>light</object-name>
63 <factor>100</factor>
64 <interpolation>
65 <entry>
66 <ind>0</ind>
67 <dep alias="/params/dist-scale"/>
68 </entry>
69 <entry>
70 <ind alias="/params/range-m"/>
71 <dep>1</dep>
72 </entry>
73 </interpolation>
74 </animation>
75
76 <animation>
77 <type>noshadow</type>
78 <object-name>light</object-name>
79 </animation>
80
81 <animation>
82 <type>select</type>
83 <object-name>light</object-name>
84 <condition>
85 <property alias="/params/power-source"/>
86 </condition>
87 </animation>
88
89 <effect>
90 <name>Effects/pointlight</name>
91 <object-name>light</object-name>
92 <inherits-from>Effects/procedural-light</inherits-from>
93 <parameters>
94 <texture n="0">
95 <type>white</type>
96 </texture>
97 <light_color_base_r alias="/params/ambient/r"/>
98 <light_color_base_g alias="/params/ambient/g"/>
99 <light_color_base_b alias="/params/ambient/b"/>
100 <light_color_center_r alias="/params/specular/r"/>
101 <light_color_center_g alias="/params/specular/g"/>
102 <light_color_center_b alias="/params/specular/b"/>
103 <intensity_scale>1.0</intensity_scale>
104 <pointing_x alias="/params/direction/x"/>
105 <pointing_y alias="/params/direction/y"/>
106 <pointing_z alias="/params/direction/z"/>
107 <is_directional type="bool">false</is_directional>
108 <is_strobe type="bool">false</is_strobe>
109 <inner_angle alias="/params/inner-angle"/>
110 <outer_angle alias="/params/outer-angle"/>
111 <zero_angle alias="/params/zero-angle"/>
112 <outer_gain alias="/params/outer-gain"/>
113 <visibility><use>/environment/ground-visibility-m</use></visibility>
114 <avisibility><use>/environment/visibility-m</use></avisibility>
115 <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness>
116 <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt>
117 <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt>
118 <terminator><use>/environment/terminator-relative-position-m</use></terminator>
119 </parameters>
120 </effect>
121
122 <light>
123 <name alias="/params/name"/>
124 <type>point</type>
125 <position>
126 <x alias="/params/x-m"/>
127 <y alias="/params/y-m"/>
128 <z alias="/params/z-m"/>
129 </position>
130 <direction>
131 <pointing_x alias="/params/direction/x"/>
132 <pointing_y alias="/params/direction/y"/>
133 <pointing_z alias="/params/direction/z"/>
134 </direction>
135 <ambient>
136 <r alias="/params/ambient/r"/>
137 <g alias="/params/ambient/g"/>
138 <b alias="/params/ambient/b"/>
139 <a>1.0</a>
140 </ambient>
141 <diffuse>
142 <r alias="/params/specular/r"/>
143 <g alias="/params/specular/g"/>
144 <b alias="/params/specular/b"/>
145 <a>1.0</a>
146 </diffuse>
147 <specular>
148 <r alias="/params/specular/r"/>
149 <g alias="/params/specular/g"/>
150 <b alias="/params/specular/b"/>
151 <a>1.0</a>
152 </specular>
153 <attenuation>
154 <c alias="/params/attenuation/c"/>
155 <l alias="/params/attenuation/l"/>
156 <q alias="/params/attenuation/q"/>
157 </attenuation>
158 <range-m alias="/params/range-m"/>
159 <dim-factor><property alias="/params/power-source"/></dim-factor>
160 </light>
161
162 </PropertyList>