Xceed Chart for WinForms v4.4 Documentation
SpotExponent Property


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > LightSource Class : SpotExponent Property
The spot exponent specifies the intensity distribution of a spot light.
Syntax
'Declaration
 
<DefaultValueAttribute()>

<CategoryAttribute("Spotlight")>

<DescriptionAttribute("The spot exponent specifies the intensity distribution of a spot light. ")>

Public Property SpotExponent As Single
'Usage
 
Dim instance As LightSource

Dim value As Single

 

instance.SpotExponent = value

 

value = instance.SpotExponent
[DefaultValue()]

[Category("Spotlight")]

[Description("The spot exponent specifies the intensity distribution of a spot light. ")]

public float SpotExponent {get; set;}
Remarks
All values are automatically clamped in the range [0,128]. Effective light intensity is attenuated by the cosine of the angle between the direction of the light and the direction from the light to the vertex being lighted, raised to the power of the spot exponent. Thus, higher spot exponents result in a more focused light source. The default spot exponent is 0, resulting in uniform light distribution.
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