PixelSizeDisplayCondition Constructor (Int32, Int32) |
Initializes a pixel size display condition with the inclusive interval
[
minimumPixelSize,
maximumPixelSize]. When this
display condition is assigned to an object, such as a
primitive,
the object is only
rendered
when the number of pixels consumed by the object's bounding sphere, projected onto
the screen, (or in the case of screen overlays, the area of its bounding rectangle) is within the interval.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic PixelSizeDisplayCondition(
int minimumPixelSize,
int maximumPixelSize
)
Public Sub New (
minimumPixelSize As Integer,
maximumPixelSize As Integer
)
public:
PixelSizeDisplayCondition(
int minimumPixelSize,
int maximumPixelSize
)
new :
minimumPixelSize : int *
maximumPixelSize : int -> PixelSizeDisplayCondition
Parameters
- minimumPixelSize
- Type: System.Int32
The minimum pixel size of the inclusive interval.
- maximumPixelSize
- Type: System.Int32
The maximum pixel size of the inclusive interval.
Use Int32.MaxValue to ignore checking the maximum pixel size.
Exceptions
See Also