Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / LightSource Class / SpotExponent Property


In This Topic
    SpotExponent Property
    In This Topic
    The spot exponent specifies the intensity distribution of a spot light.
    Syntax
    'Declaration
     
    <CategoryAttribute("Spotlight")>
    <DescriptionAttribute("The spot exponent specifies the intensity distribution of a spot light. ")>
    <DefaultValueAttribute(0)>
    Public Property SpotExponent As Single
    'Usage
     
    Dim instance As LightSource
    Dim value As Single
     
    instance.SpotExponent = value
     
    value = instance.SpotExponent
    [Category("Spotlight")]
    [Description("The spot exponent specifies the intensity distribution of a spot light. ")]
    [DefaultValue(0)]
    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