Tag representing fragment lights. Includes <Diffuse>, <Specular0>, <Specular1>, <Direction> and <AngleSampler>, representing the color information and attenuation in the child hierarchy.
The light type is specified by the LightKind attribute. There are three valid types: DirectionalLight, PointLight and SpotLight.
| Type | Attributes | Description |
| DistanceAttenuationEnd | Distance to where attenuation of light brightness ends. | |
|---|---|---|
| DistanceAttenuationStart | Distance to where attenuation of light brightness starts. | |
| IsBranchVisible | Flag indicating whether items below node are shown. | |
| IsDistanceAttenuationEnabled | Flag enabling distance attenuation. | |
| IsInheritingDirectionRotate | Flag enabling the inheriting of parent node's rotation. | |
| IsTwoSideDiffuse | Flag enabling two-sided lighting for Diffuse color. | |
| LightKindCtr | LightKind | The type of the light source. |
| Name | Name. |
LightKindCtr Enumerated Type| Value | Description |
| DirectionalLight | A parallel light source. |
|---|---|
| PointLight | A point light source. |
| SpotLight | A spot light source. |
<FragmentLightCtr Name="directionalLight1" IsBranchVisible="true" LightKind="DirectionalLight" IsTwoSideDiffuse="false" IsDistanceAttenuationEnabled="false" DistanceAttenuationStart="0" DistanceAttenuationEnd="1" IsInheritingDirectionRotate="false"> |
CONFIDENTIAL