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


In This Topic
    Shininess Property (NMaterialStyle)
    In This Topic
    The shininess of the NFillStyle.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(30)>
    Public Property Shininess As System.Single
    'Usage
     
    
    Dim instance As NMaterialStyle
    Dim value As System.Single
     
    instance.Shininess = value
     
    value = instance.Shininess
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(30)]
    public System.float Shininess {get; set;}
    Remarks
    This property controls how sharp the specular effects are, because the specular light source contribution is the product of the material specular reflectance, the light's specular intensity, and the dot product of the normalized vertex-to-eye and vertex-to-light vectors, raised to the power of the shininess of the material.
    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