Partager via


BlendState.BlendFactor Property

Gets or sets the four-component (RGBA) blend factor for alpha blending.

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

Syntax

public Color BlendFactor { get; set; }

Property Value

A four-component (RGBA) blend factor.

Remarks

For more information about blending, see What Is Color Blending?.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP