| DRMaterialProcessorColorKeyColor Property |
Gets or sets 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: DigitalRune.Graphics.Content.PipelineAssembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax [DefaultValueAttribute(typeof(Color), "255, 0, 255, 255")]
public virtual Color ColorKeyColor { get; set; }
<DefaultValueAttribute(GetType(Color), "255, 0, 255, 255")>
Public Overridable Property ColorKeyColor As Color
Get
Set
public:
[DefaultValueAttribute(typeof(Color), L"255, 0, 255, 255")]
virtual property Color ColorKeyColor {
Color get ();
void set (Color value);
}
[<DefaultValueAttribute(typeof(Color), "255, 0, 255, 255")>]
abstract ColorKeyColor : Color with get, set
[<DefaultValueAttribute(typeof(Color), "255, 0, 255, 255")>]
override ColorKeyColor : Color with get, set
Property Value
Type:
ColorColor value of the material to replace with transparent black.
See Also