DistanceToPositionDisplayCondition Class |
Namespace: AGI.Foundation.Graphics
The DistanceToPositionDisplayCondition type exposes the following members.
Name | Description | |
---|---|---|
DistanceToPositionDisplayCondition | ||
DistanceToPositionDisplayCondition(Cartesian, 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 position is within the interval.
| |
DistanceToPositionDisplayCondition(ReferenceFrame, Cartesian, 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 position 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.
| |
Position |
Gets or sets the position used to compute the distance from the camera.
| |
ReferenceFrame |
Gets or sets the reference frame that Position is defined in.
|
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.) |