Nevron.GraphicsCore Namespace / NLightModel Class / EnableLighting Property


In This Topic
    EnableLighting Property
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Enables/disables the lighting effects.")>
    <System.ComponentModel.DefaultValueAttribute(False)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property EnableLighting As System.Boolean
    'Usage
     
    
    Dim instance As NLightModel
    Dim value As System.Boolean
     
    instance.EnableLighting = value
     
    value = instance.EnableLighting
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Enables/disables the lighting effects.")]
    [System.ComponentModel.DefaultValue(false)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.bool EnableLighting {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