Compartir a través de


MaterialFixed.SpecularSharpness Property

Gets or sets a value that specifies the sharpness of specular highlights.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property SpecularSharpness As Single
'Usage
Dim instance As MaterialFixed
Dim value As Single

value = instance.SpecularSharpness

instance.SpecularSharpness = value
public float SpecularSharpness { get; set; }
public:
property float SpecularSharpness {
    float get ();
    void set (float value);
}
/** @property */
public float get_SpecularSharpness ()

/** @property */
public void set_SpecularSharpness (float value)
public function get SpecularSharpness () : float

public function set SpecularSharpness (value : float)
Not applicable.

Property Value

The floating-point value that represents the sharpness of specular highlights.

Remarks

The higher the value, the sharper the highlight.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

MaterialFixed Structure
MaterialFixed Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace