Click or drag to resize

PathGraphics Class

Defines the graphical properties of the path of a moving object over time. This will produce the path property in CZML.

Note that because clients cannot render a truly infinite path, the path must be limited in some manner. The path is limited by the LeadTime and TrailTime values, and also by the availability of the object. Availability is determined using the AvailabilityIntervals of the Point of the object, but can be overridden using CesiumAvailabilityExtension.

Inheritance Hierarchy
SystemObject
  AGI.Foundation.CesiumPathGraphics

Namespace:  AGI.Foundation.Cesium
Assembly:  AGI.Foundation.Cesium (in AGI.Foundation.Cesium.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public class PathGraphics

The PathGraphics type exposes the following members.

Constructors
  NameDescription
Public methodPathGraphics
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyDistanceDisplayCondition
Gets or sets the distances from the camera at which this path will be displayed. If not specified, the path is displayed regardless of camera distance.
Public propertyLeadTime
Gets or sets the lead time of the path, in seconds. The lead time is the amount of time ahead of the current position that the path extends in front of the object. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
Public propertyMaterial
Gets or sets the material used to draw the path. If not specified, the default is a SolidColorMaterialGraphics with Color set to White.
Public propertyResolution
Gets or sets the resolution of the path, in seconds. This value is the minimum step size the client will take when sampling the position of the object to create the path. Lower numbers provide improved visual fidelity at the cost of rendering performance. If not specified, the default is 60.0.
Public propertyShow
Gets or sets whether or not the path is shown. If not specified, the default is .
Public propertyTrailTime
Gets or sets the trail time of the path, in seconds. The trail time is the amount of time behind of the current position that the path extends behind the object. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.
Public propertyWidth
Gets or sets the width of the path. If not specified, the default is 1.0.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also