Partager via


BlendState.ColorSourceBlend Property

Gets or sets the blend factor for the source color. The default is Blend.One.

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

Syntax

public Blend ColorSourceBlend { get; set; }

Property Value

The 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