<xs:element name="technique_common">
<xs:annotation>
<xs:documentation>The technique_common element specifies the light information for the common profile which all COLLADA implementations need to support.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element name="ambient">
<xs:annotation>
<xs:documentation>The ambient element declares the parameters required to describe an ambient light source. An ambient light is one that lights everything evenly, regardless of location or orientation.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="color" type="targetable_float3_type">
<xs:annotation>
<xs:documentation>The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="directional">
<xs:annotation>
<xs:documentation>The directional element declares the parameters required to describe a directional light source. A directional light is one that lights everything from the same direction, regardless of location. The light's default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="color" type="targetable_float3_type">
<xs:annotation>
<xs:documentation>The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="point">
<xs:annotation>
<xs:documentation>The point element declares the parameters required to describe a point light source. A point light source radiates light in all directions from a known location in space. The intensity of a point light source is attenuated as the distance to the light source increases. The position of the light is defined by the transform of the node in which it is instantiated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="color" type="targetable_float3_type">
<xs:annotation>
<xs:documentation>The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="constant_attenuation" type="targetable_float_type" default="1.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The constant_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="linear_attenuation" type="targetable_float_type" default="0.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The linear_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="quadratic_attenuation" type="targetable_float_type" default="0.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The quadratic_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="spot">
<xs:annotation>
<xs:documentation>The spot element declares the parameters required to describe a spot light source. A spot light source radiates light in one direction from a known location in space. The light radiates from the spot light source in a cone shape. The intensity of the light is attenuated as the radiation angle increases away from the direction of the light source. The intensity of a spot light source is also attenuated as the distance to the light source increases. The position of the light is defined by the transform of the node in which it is instantiated. The light's default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="color" type="targetable_float3_type">
<xs:annotation>
<xs:documentation>The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="constant_attenuation" type="targetable_float_type" default="1.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The constant_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="linear_attenuation" type="targetable_float_type" default="0.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The linear_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="quadratic_attenuation" type="targetable_float_type" default="0.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The quadratic_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="falloff_angle" type="targetable_float_type" default="180.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The falloff_angle is used to specify the amount of attenuation based on the direction of the light.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="falloff_exponent" type="targetable_float_type" default="0.0" minOccurs="0">
<xs:annotation>
<xs:documentation>The falloff_exponent is used to specify the amount of attenuation based on the direction of the light.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element> |