Pixel |
The PixelEffect type exposes the following members.
Name | Description | |
---|---|---|
IsCircularPixel | 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. | |
IsWorldSize | 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. | |
OverridePixelColor | Gets or sets a Boolean that specifies if PixelColor is used regardless of the color defined in the material. | |
PixelColor | 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). | |
PixelSize | 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. | |
RequiredInputLayoutType |
Gets the input layout that is required to render this effect.
(Overrides EffectRequiredInputLayoutType) | |
UseVertexIdColor | 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. |