Share via


SpriteTextureProcessor.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 override Color ColorKeyColor { get; }

Property Value

Color value of the material to replace with transparent black.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP