Click or drag to resize

AltitudeDisplayCondition Class

Defines an inclusive altitude interval, in meters, that determines when an object is rendered based on the camera's altitude relative to a CentralBody.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsDisplayCondition
    AGI.Foundation.GraphicsAltitudeDisplayCondition

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public sealed class AltitudeDisplayCondition : DisplayCondition

The AltitudeDisplayCondition type exposes the following members.

Constructors
  NameDescription
Public methodAltitudeDisplayCondition
Initializes a default altitude display condition. With this constructor, an object is always rendered regardless of the camera's altitude.
Public methodAltitudeDisplayCondition(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.
Public methodAltitudeDisplayCondition(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.
Top
Properties
  NameDescription
Public propertyCentralBody
Gets or sets the CentralBody to which the altitude is relative.
Public propertyMaximumAltitude
Gets or sets the maximum altitude, in meters, of the inclusive altitude interval. Use Double.MaxValue to ignore checking the maximum altitude.
Public propertyMinimumAltitude
Gets or sets the minimum altitude, in meters, of the inclusive altitude interval. Use Double.MinValue to ignore checking the minimum altitude.
Top
Methods
  NameDescription
Public methodDispose (Inherited from DisplayCondition.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also