| DistanceToPrimitiveDisplayCondition Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: AGI.Foundation.Graphics
 Syntax
SyntaxThe DistanceToPrimitiveDisplayCondition type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | DistanceToPrimitiveDisplayCondition | |
|  | DistanceToPrimitiveDisplayCondition(Primitive, Double, Double) | 
Initializes a distance to primitive display condition with the inclusive distance interval
[minimumDistance, maximumDistance].  When this
display condition is assigned to an object, such as a
screen overlay,
the object is only
rendered
when the distance, in meters, from the camera to the Primitive, is within the interval.
 | 
 Properties
Properties| 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.
 | 
|  | Primitive | 
Gets or sets the primitive associated with this instance.
 | 
 Methods
Methods| 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.) | 
 See Also
See Also