Xceed Chart for WinForms v4.4 Documentation
LightSourceType Property (LightSource)


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > LightSource Class : LightSourceType Property
Selects between positional and directional light source.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DefaultValueAttribute()>
<DescriptionAttribute("Selects between positional and directional light source.")>
Public Property LightSourceType As LightSourceType
'Usage
 
Dim instance As LightSource
Dim value As LightSourceType
 
instance.LightSourceType = value
 
value = instance.LightSourceType
[Category("General")]
[DefaultValue()]
[Description("Selects between positional and directional light source.")]
public LightSourceType LightSourceType {get; set;}
Remarks
A light source can be treated as though it's located infinitely far away from the scene or as it is nearer to the scene. The first type is referred to as a directional light source; the effect of an infinite location is that the rays of light can be considered parallel by the time they reach an object. An example of a real-world directional light source is the sun. The second type is called a positional light source, since its exact position within the scene determines the effect it has on a scene and, specifically, the direction from which the light rays come. A desk lamp is an example of a positional light source. In general directional light sources are rendered faster than positional ones.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LightSource Class
LightSource Members