Nevron .NET Vision
Nevron.GraphicsCore Namespace / NMaterialStyle Class / Specular Property


In This Topic
    Specular Property (NMaterialStyle)
    In This Topic
    The specular color of the NFillStyle.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlIgnoreAttribute()>
    Public Property Specular As System.Drawing.Color
    'Usage
     
    
    Dim instance As NMaterialStyle
    Dim value As System.Drawing.Color
     
    instance.Specular = value
     
    value = instance.Specular
    [System.Xml.Serialization.XmlIgnore()]
    public System.Drawing.Color Specular {get; set;}
    Remarks
    By default the specular color is set to White. This ensures that objects will appear brighter when the angle of the light from a particular light source and the normal vector of the surface decreases (or drops to zero). If you want to reduce this effect for a particular scene element you may consider changing this property.
    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