Bagikan melalui


GraphicsDevice.BlendFactor Property

Gets or sets the color used for a constant-blend factor during alpha blending. The default value is Color.White.

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

Syntax

public Color BlendFactor { get; set; }

Property Value

The color used for a constant-blend factor during alpha blending.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP