Bagikan melalui


BasicEffect.SpecularColor Property

Gets or sets the specular color for a material, the range of color values is from 0 to 1.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public Vector3 SpecularColor { get; set; }

Property Value

The specular color of this effect material. Valid values are between 0 and 1.

See Also

Reference

BasicEffect Class
BasicEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP