|
PixelsNode Properties |
The PixelsNode type exposes the following members.
Properties | Name | Description |
---|
| HasTransparentPixelColors |
Gets or sets a nullable Boolean that specifies if PixelColors define colors that have alpha value less than 1 (has any transparent pixels).
When there are any transparent pixels, then alpha blending must be used to render the pixels correctly.
When this property is not set (is null by default), then the colors in PixelColors array are checked for any transparent pixels.
|
| PixelColor |
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.
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.
|
| PixelColors |
Gets or sets a Color4 array that specifies the colors for each pixel. When color's alpha is 0, then the pixel is not rendered.
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(NullableBoolean) method for the changes to take effect.
|
| PixelSize |
Gets or sets the width and height of the pixel in screen space units. This value is scaled with DPI scale factor.
Default value is 1.
|
| PixelSizes |
Gets or sets a float array that specifies the sizes for each pixel. When size is less of equal to 0, then the pixel is not rendered.
When PixelSizes array is set, the PixelSize value is multiplied with each size defined in the array (set PixelSize to 1 to use the values specified in this array).
When null, the size of all the pixels is set by the value defined by the PixelSize property.
When individual values of PixelSizes are changed, you need to call UpdatePixelSizes method for the changes to take effect.
|
| Positions |
Positions array that form 3D lines.
|
TopSee Also