TextureCreationParameters.ColorKey Property
Note
This property is available only when developing for Windows.
Gets or sets the color value to replace with transparent black.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Color ColorKey { get; set; }
Property Value
Color value to replace with transparent black.
See Also
Reference
TextureCreationParameters Structure
TextureCreationParameters Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista