Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPointLightSource Class / ConstantAttenuation Property


In This Topic
    ConstantAttenuation Property
    In This Topic
    Specifies the constant attenuation factor for this light. For more information see the "OpenGL Lighting Model" topic in the User's Guide.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Attenuation")>
    <System.ComponentModel.DescriptionAttribute("Specifies the constant attenuation factor for this light.")>
    <System.ComponentModel.DefaultValueAttribute(1)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property ConstantAttenuation As System.Single
    'Usage
     
    
    Dim instance As NPointLightSource
    Dim value As System.Single
     
    instance.ConstantAttenuation = value
     
    value = instance.ConstantAttenuation
    [System.ComponentModel.Category("Attenuation")]
    [System.ComponentModel.Description("Specifies the constant attenuation factor for this light.")]
    [System.ComponentModel.DefaultValue(1)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.float ConstantAttenuation {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