Click or drag to resize
Ab4d.SharpEngine logo

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.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public 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