Nevron .NET Vision
Nevron.GraphicsCore Namespace / NLightSource Class / Diffuse Property


In This Topic
    Diffuse Property (NLightSource)
    In This Topic
    The diffuse color emitted by this light source.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Emission")>
    <System.ComponentModel.DescriptionAttribute("The diffuse color emitted by this light source. ")>
    <System.Xml.Serialization.XmlIgnoreAttribute()>
    Public Property Diffuse As System.Drawing.Color
    'Usage
     
    
    Dim instance As NLightSource
    Dim value As System.Drawing.Color
     
    instance.Diffuse = value
     
    value = instance.Diffuse
    [System.ComponentModel.Category("Emission")]
    [System.ComponentModel.Description("The diffuse color emitted by this light source. ")]
    [System.Xml.Serialization.XmlIgnore()]
    public System.Drawing.Color Diffuse {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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also