Click or drag to resize
LightSource Properties

The LightSource type exposes the following members.

Properties
  NameDescription
Public propertyBoundingSphere
Light bounding sphere.
Public propertyColor
Light color and strength (A field = light strength).
Public propertyDirection
Light direction, if its a directional light.
Public propertyIntensity
Light Intensity (equivilent to Color.A).
Public propertyIsDirectionalLight
Return if this light is a directional light.
Public propertyIsInfinite
Return if this light source is infinite, eg has no range and reach anywhere (like a directional light).
Public propertyParamsVersion
So we can cache lights and identify when they were changed.
Public propertyPosition
Light position in world space.
Public propertyRange
Light range.
Public propertySpecular
Specular factor.
Top
See Also