Click or drag to resize

PointBatchPrimitivePixelSize Property

Gets or sets the size, in pixels, of each point in the point batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public float PixelSize { get; set; }

Property Value

Type: Single
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionPixelSize is less than 0.
InsufficientVideoCardExceptionPixelSize is outside of the range supported by the video card. To verify a pixel size is supported, check MinimumPixelSizeSupported and MaximumPixelSizeSupported. Regardless of MinimumPixelSizeSupported, a pixel size of 0 is always allowed and effectively hides the primitive.
Remarks
The size is defined in pixels so even if the camera moves very close or very far from a point batch, the size of each point on the screen does not change.
See Also