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


In This Topic
    LightSources Property
    In This Topic
    Represents the collection of light sources that are applied to the scene.
    Syntax
    'Declaration
     
    
    Public Property LightSources As NLightSourceCollection
    'Usage
     
    
    Dim instance As NLightModel
    Dim value As NLightSourceCollection
     
    instance.LightSources = value
     
    value = instance.LightSources
    public NLightSourceCollection LightSources {get; set;}
    Remarks
    With the help of this collection you can add, remove and modify the lights applied to the 3D scene. The number of lights in the current Microsoft OpenGL implementation is limited to eight. This is why you cannot add more than eight lights to the collection.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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)

    See Also