PixelSizeDisplayCondition Class |
Namespace: AGI.Foundation.Graphics
The PixelSizeDisplayCondition type exposes the following members.
Name | Description | |
---|---|---|
PixelSizeDisplayCondition |
Initializes a default pixel size display condition. MinimumPixelSize
is set to 0 and MaximumPixelSize is set to
Int32.MaxValue. With this interval, an object is always
rendered
regardless of how many pixels its bounding sphere or rectangle covers.
| |
PixelSizeDisplayCondition(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.
|
Name | Description | |
---|---|---|
MaximumPixelSize |
Gets or sets the maximum pixel size of the inclusive distance interval.
Use Int32.MaxValue to ignore checking the maximum distance.
| |
MinimumPixelSize |
Gets or sets the minimum pixel size of the inclusive distance interval.
|
Name | Description | |
---|---|---|
Dispose | (Inherited from DisplayCondition.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |