Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLightSource Class / DiffuseColor Property


In This Topic
    DiffuseColor Property
    In This Topic
    The diffuse color emitted by this light source.
    Syntax
    'Declaration
     
    
    Public Property DiffuseColor As NColor
    'Usage
     
    
    Dim instance As NLightSource
    Dim value As NColor
     
    instance.DiffuseColor = value
     
    value = instance.DiffuseColor
    public NColor DiffuseColor {get; set;}
    Remarks
    Diffuse light comes from a particular direction so it is brighter if it comes squarely down on a surface than if it barely glances off the surface. Once it hits the surface however it is scattered equally in all directions.
    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