function DistanceDisplayCondition(near, far) {
  near = near ?? 0.0;
  this._near = near;

  far = far ?? Number.MAX_VALUE;
  this._far = far;
}
Determines visibility based on the distance to the camera.

@alias DistanceDisplayCondition
@constructor

@param {number} [near=0.0] The smallest distance in the interval where the object is visible.
@param {number} [far=Number.MAX_VALUE] The largest distance in the interval where the object is visible.

@example
// Make a billboard that is only visible when the distance to the camera is between 10 and 20 meters.
billboard.distanceDisplayCondition = new Cesium.DistanceDisplayCondition(10.0, 20.0);