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


In This Topic
    LinearAttenuation Property
    In This Topic
    Specifies the linear attenuation factor for this light. For more information see the "OpenGL Lighting Model" topic in the User's Guide.
    Syntax
    'Declaration
     
    <CategoryAttribute("Attenuation")>
    <DescriptionAttribute("Specifies the linear attenuation factor for this light.")>
    <DefaultValueAttribute(0)>
    Public Property LinearAttenuation As Single
    'Usage
     
    Dim instance As LightSource
    Dim value As Single
     
    instance.LinearAttenuation = value
     
    value = instance.LinearAttenuation
    [Category("Attenuation")]
    [Description("Specifies the linear attenuation factor for this light.")]
    [DefaultValue(0)]
    public float LinearAttenuation {get; set;}
    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