DistanceToGlobeOverlayDisplayCondition Constructor (GlobeOverlay, Double, Double) |
Initializes a distance display condition with the
GlobeOverlay and 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
GlobeOverlay is within the interval.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public DistanceToGlobeOverlayDisplayCondition(
GlobeOverlay globeOverlay,
double minimumDistance,
double maximumDistance
)
Public Sub New (
globeOverlay As GlobeOverlay,
minimumDistance As Double,
maximumDistance As Double
)
public:
DistanceToGlobeOverlayDisplayCondition(
GlobeOverlay^ globeOverlay,
double minimumDistance,
double maximumDistance
)
new :
globeOverlay : GlobeOverlay *
minimumDistance : float *
maximumDistance : float -> DistanceToGlobeOverlayDisplayCondition
Parameters
- globeOverlay
- Type: AGI.Foundation.Graphics.AdvancedGlobeOverlay
The globe overlay associated with this instance.
- minimumDistance
- Type: SystemDouble
The minimum distance, in meters, of the inclusive distance interval.
- maximumDistance
- Type: SystemDouble
The maximum distance, in meters, of the inclusive distance interval.
Use Double.MaxValue to ignore checking the maximum distance.
Exceptions See Also