Export (0) Print
Expand All

TextureCreationParameters.ColorKey Property

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

public Color ColorKey { get; set; }

Property Value

Color value to replace with transparent black.

Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft