DistanceDisplayCondition Class |
Namespace: AGI.Foundation.Graphics
The DistanceDisplayCondition type exposes the following members.
Name | Description | |
---|---|---|
![]() | DistanceDisplayCondition |
Initializes a default distance display condition. MinimumDistance
is set to 0 and MaximumDistance is set to
Double.MaxValue. With this interval, an object is always
rendered
regardless of its distance to the camera.
|
![]() | DistanceDisplayCondition(Double, Double) |
Initializes a distance display condition with the inclusive distance interval
[minimumDistance, maximumDistance]. When this
display condition is assigned to an object, such as a
primitive,
the object is only
rendered
when the distance, in meters, from the camera to the object is within the interval.
|
Name | Description | |
---|---|---|
![]() | MaximumDistance |
Gets or sets the maximum distance, in meters, of the inclusive distance interval.
Use Double.MaxValue to ignore checking the maximum distance.
|
![]() | MaximumDistanceSquared |
Gets the squared maximum distance, in meters, of the inclusive distance interval.
|
![]() | MinimumDistance |
Gets or sets the minimum distance, in meters, of the inclusive distance interval.
|
![]() | MinimumDistanceSquared |
Gets the squared minimum distance, in meters, 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.) |