<FragmentLightCtr>

Description

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.

Attributes

TypeAttributesDescription
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.
LightKindCtrLightKind The type of the light source.
Name Name.

LightKindCtr Enumerated Type

ValueDescription
DirectionalLight A parallel light source.
PointLight A point light source.
SpotLight A spot light source.

Example Output

<FragmentLightCtr Name="directionalLight1" IsBranchVisible="true" LightKind="DirectionalLight" IsTwoSideDiffuse="false" IsDistanceAttenuationEnabled="false" DistanceAttenuationStart="0" DistanceAttenuationEnd="1" IsInheritingDirectionRotate="false">
<AnimationGroupDescriptions />
..omitted..
</FragmentLightCtr>

CONFIDENTIAL