Click or drag to resize

AltitudeDisplayCondition Constructor (CentralBody, Double, Double)

Initializes an altitude display condition with the inclusive altitude interval [minimumAltitude, maximumAltitude]. When this display condition is assigned to an object, such as a primitive, the object is only rendered when the camera's altitude, relative to the centralBody, is within the interval.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public AltitudeDisplayCondition(
	CentralBody centralBody,
	double minimumAltitude,
	double maximumAltitude
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The CentralBody to which the altitude is relative.
minimumAltitude
Type: SystemDouble
The minimum altitude, in meters, of the inclusive altitude interval. Use Double.MinValue to ignore checking the minimum altitude.
maximumAltitude
Type: SystemDouble
The maximum altitude, in meters, of the inclusive altitude interval. Use Double.MaxValue to ignore checking the maximum altitude.
See Also