public sealed class DistanceToPrimitiveDisplayCondition : DisplayCondition
Public NotInheritable Class DistanceToPrimitiveDisplayCondition Inherits DisplayCondition
public ref class DistanceToPrimitiveDisplayCondition sealed : public DisplayCondition
[<SealedAttribute>] type DistanceToPrimitiveDisplayCondition = class inherit DisplayCondition end
The DistanceToPrimitiveDisplayCondition type exposes the following members.
|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.
Gets or sets the maximum distance, in meters, of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance.
Gets the squared maximum distance, in meters, of the inclusive distance interval.
Gets or sets the minimum distance, in meters, of the inclusive distance interval.
Gets the squared minimum distance, in meters, of the inclusive distance interval.
Gets or sets the primitive associated with this instance.
|Dispose||(Inherited from DisplayCondition.)|
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)