Customizing Lighting Setups > <lightscenes> Element > <lightscene> Element
  
<lightscene> Element
The <lightscene> element is a child of the <lightscenes> element. Each <lightscene> element encodes the properties for one lighting setup containing one or more lights (<light> elements).
Each <lightscene> element has a unique name defined in its <name> element. The <name> element can contain an optional predefined localized lighting setup name or a custom name.
The <lightscenes> element has no attributes.
<lightscene> Syntax
Example: Lighting setup with a predefined localized name:
<!-- Lighting setup with a predefined localized name -->
<lightscene>
<name locid="DEFlocName"/>
<light />
<light />

<light />
</lightscene>
Example: Lighting setup with a custom non-localized name:
<!-- Lighting setup with a custom non-localized name -->
<lightscene>
<name>Lighting Setup Name</name>
<light />
<light />

<light />
</lightscene>
<lightscene> Child Elements
<name>
(Mixed) Specifies the lighting setup name shown in the Lighting Setup list. (See <name> Element.)
<light>
Defines the type, color, and direction for one light in a lighting setup. A <lightscene> element contains one or more <light> elements. (See <light> Element.)
<lightscene> Example
This example shows the predefined lighting setup, DEFTwoLights, encoded in a <lightscene> element.
<lightscene>
<name locid="DEFTwoLights"/>
<light name="key" type="direct" relative="view">
<color ambient="#141414" diffuse="#BEBEBE" specular="#CCCCCC"/>
<direction x="-60.00" y="15.00" z="5.00"/>
</light>
<light name="fill" type="direct" relative="view">
<color ambient="#050505" diffuse="#969696" specular="#AFAFAF"/>
<direction x="10.00" y="60.00" z="0.00"/>
</light>
</lightscene>