Export (0) Print
Expand All

TextureProcessor.ColorKeyColor Property

Bb975223.note(en-us,XNAGameStudio.41).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 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft