|
PixelMaterialPixelSizes Property |
Gets or sets a float array that specifies the sizes for each pixel. When size is less of equal to 0, 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.
To hide an individual pixel from rendering, set its size in the PixelSizes to 0 (you can also set its color in PixelColors to a color with alpha value if zero).
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public float[] PixelSizes { get; set; }
Property Value
SingleSee Also