NevronOpenVision
Nevron.Nov.Graphics Namespace / NLightModel Class / SetPredefinedLightModel Method
SetPredefinedLightModel Method
Configures the object to use a predefined light model.
Syntax
public void SetPredefinedLightModel( 
   ENPredefinedLightModel predefinedLightModel
)

Parameters

predefinedLightModel
Remarks
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.
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