 |
PixelMaterialPixelColor Property |
Gets or sets the Color4 of pixels.
When
PixelColors array is set, the value of this property is used as a mask that is multiplied with each color defined in the array.
By default, the PixelColor value is not alpha pre-multiplied. To use alpha pre-multiplied colors, set the
IsPreMultipliedAlphaColor property to true.
If this property is not set and when
PixelColors property is set, then the default value of this property is Color.White (no color mask).
When
PixelColors is not set, then the default value of this property is Colors.Black.
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic Color4 PixelColor { get; set; }
Property Value
Color4[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.PixelColor"]
Implements
IPixelMaterialPixelColor
Remarks[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.PixelColor"]
See Also