TextureProcessor.ColorKeyColor Property

Bb975223.note(en-US,XNAGameStudio.30).gifNote
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)

public virtual Color ColorKeyColor { get; set; }

Property Value

The color used when a texture is color keyed.

Windows XP SP2, Windows Vista
Show: