public sealed class DistanceDisplayCondition : DisplayCondition
Public NotInheritable Class DistanceDisplayCondition Inherits DisplayCondition
public ref class DistanceDisplayCondition sealed : public DisplayCondition
[<SealedAttribute>] type DistanceDisplayCondition = class inherit DisplayCondition end
Thetype exposes the following members.
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.
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.
|Dispose||(Inherited from DisplayCondition.)|
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)