/usr/share/sdformat/1.0/light.sdf is in sdformat-sdf 2.0.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | <!-- Light -->
<element name="light" required="*">
<attribute name="name" type="string" default="__default__" required="0"/>
<attribute name="type" type="string" default="point" required="1"/>
<attribute name="cast_shadows" type="bool" default="false" required="0"/>
<element name="origin" required="0">
<attribute name="pose" type="pose" default="0 0 0 0 0 0" required="1"/>
</element> <!-- End Origin -->
<element name="diffuse" required="1">
<attribute name="rgba" type="color" default="1 1 1 1" required="1"/>
</element> <!-- End Diffuse -->
<element name="specular" required="1">
<attribute name="rgba" type="color" default=".1 .1 .1 1" required="1"/>
</element> <!-- End Specular -->
<element name="attenuation" required="0">
<attribute name="range" type="double" default="10" required="1"/>
<attribute name="linear" type="double" default="1" required="0"/>
<attribute name="constant" type="double" default="1" required="0"/>
<attribute name="quadratic" type="double" default="0" required="0"/>
</element> <!-- End Attenuation -->
<element name="direction" required="1">
<attribute name="xyz" type="vector3" default="0 0 -1" required="1"/>
</element><!-- End Directional -->
<element name="spot" required="0">
<attribute name="inner_angle" type="double" default="0" required="1"/>
<attribute name="outer_angle" type="double" default="0" required="1"/>
<attribute name="falloff" type="double" default="0" required="1"/>
</element> <!-- End Spot -->
</element> <!-- End Light -->
|