Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLightModel Class / SetPredefinedLightModel Method

In This Topic
    SetPredefinedLightModel Method
    In This Topic
    Configures the object to use a predefined light model.
    Public Sub SetPredefinedLightModel( _
       ByVal predefinedLightModel As ENPredefinedLightModel _
    Dim instance As NLightModel
    Dim predefinedLightModel As ENPredefinedLightModel
    public void SetPredefinedLightModel( 
       ENPredefinedLightModel predefinedLightModel


    The function automatically enables lighting, creates one or more light sources with predefined settings and places them in the LightSources collection. After loading the predefined light model you can modify the parameters of individual light sources to customize the lighting effect.

    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