Click or drag to resize
AB4D logo

PixelEffect Properties

The PixelEffect type exposes the following members.

Properties
 NameDescription
Public propertyIsCircularPixel Gets or sets a Boolean value that specifies if pixels are rendered as circle instead of square. This value is used when the object does not provide a PixelMaterial. Default value is false.
Public propertyIsWorldSize Gets or sets a Boolean value that specifies if pixel size is specified in 3D world coordinates (true) or in screen coordinates (false). This value is used when the object does not provide a PixelMaterial. Default value is false.
Public propertyOverridePixelColor Gets or sets a Boolean that specifies if PixelColor is used regardless of the color defined in the material.
Public propertyPixelColor Gets or sets a Color4 value that specifies the color of the pixel that is used when the color is not specified by the material. Default value is (0, 0, 0, 0).
Public propertyPixelSize Gets or sets a float value that specifies the size of the pixel that is used when the size is not specified by the material.
Public propertyRequiredInputLayoutType Gets the input layout that is required to render this effect.
(Overrides EffectRequiredInputLayoutType)
Public propertyUseVertexIdColor Gets or sets a Boolean value that specifies if pixel color is defined by the index of the pixel. When true, then the color defined in PixelColor is added to the color calculated from index of the pixel. See remarks for more info about how the index is written to color. Default value is false.
Top
See Also