<FragmentLightCtr>

Description

Tag representing fragment lights. Includes in the child hierarchy <Diffuse>, <Specular0>, <Specular1>, <Direction>, and <AngleSampler> tags, which represent the color information and attenuation.

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 that indicates whether items below the 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