Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLightModel Class / EnableLighting Property

In This Topic
    EnableLighting Property
    In This Topic
    Enables/disables the lighting effects.
    Public Property EnableLighting As System.Boolean
    Dim instance As NLightModel
    Dim value As System.Boolean
    instance.EnableLighting = value
    value = instance.EnableLighting
    public System.bool EnableLighting {get; set;}
    When lighting is turned off, all lighting properties (light sources and materials) are discarded and have no effect on the rendered scene. By default the lighting is enabled. You can disable it to increase the rendering performance or in case that lighting effects are not really necessary (for example in 2D charts).

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also