 |
PixelMaterialPixelColors Property |
Gets or sets a Color4 array that specifies the colors for each pixel. When color's alpha is 0, the pixel is not rendered.
By default, the color values are not alpha pre-multiplied. To use alpha pre-multiplied colors, set the
IsPreMultipliedAlphaColor property to true.
When PixelColors array is set, the
PixelColor is used as a mask that is multiplied with each color defined in the array (set PixelColor to White to use the values specified in this array).
When null, the color of all the pixels is set by the color defined by the
PixelColor property.
When individual values of PixelColors are changed, you need to call
UpdatePixelColors method for the changes to take effect.
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic Color4[]? PixelColors { get; set; }
Property Value
Color4[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.PixelColors"]
Remarks[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.PixelMaterial.PixelColors"]
See Also