Partilhar via


TextureProcessor.ColorKeyColor Property

Note

This property is available only when developing for Windows.

Specifies the color used when color keying for a texture is enabled. When color keying, all pixels of a specified color are replaced with transparent black.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public virtual Color ColorKeyColor { get; set; }

Property Value

The color used when a texture is color keyed.

See Also

Reference

TextureProcessor Class
TextureProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP