public class PathGraphics extends Object
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
(get
/ set
) and TrailTime
(get
/ set
) values,
and also by the availability of the object. Availability is determined
using the AvailabilityIntervals
(get
) of the Point
of the object,
but can be overridden using CesiumAvailabilityExtension
.
Constructor and Description |
---|
PathGraphics()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
CesiumProperty<Bounds> |
getDistanceDisplayCondition()
Gets the distances from the camera at which this path will be displayed.
|
CesiumProperty<Double> |
getLeadTime()
Gets the lead time of the path, in seconds.
|
CesiumProperty<IPolylineMaterialGraphics> |
getMaterial()
Gets the material used to draw the path.
|
CesiumProperty<Double> |
getResolution()
Gets the resolution of the path, in seconds.
|
CesiumProperty<Boolean> |
getShow()
Gets whether or not the path is shown.
|
CesiumProperty<Double> |
getTrailTime()
Gets the trail time of the path, in seconds.
|
CesiumProperty<Double> |
getWidth()
Gets the width of the path.
|
void |
setDistanceDisplayCondition(CesiumProperty<Bounds> value)
Sets the distances from the camera at which this path will be displayed.
|
void |
setLeadTime(CesiumProperty<Double> value)
Sets the lead time of the path, in seconds.
|
void |
setMaterial(CesiumProperty<IPolylineMaterialGraphics> value)
Sets the material used to draw the path.
|
void |
setResolution(CesiumProperty<Double> value)
Sets the resolution of the path, in seconds.
|
void |
setShow(CesiumProperty<Boolean> value)
Sets whether or not the path is shown.
|
void |
setTrailTime(CesiumProperty<Double> value)
Sets the trail time of the path, in seconds.
|
void |
setWidth(CesiumProperty<Double> value)
Sets the width of the path.
|
public final CesiumProperty<Boolean> getShow()
true
.public final void setShow(CesiumProperty<Boolean> value)
true
.public final CesiumProperty<Double> getWidth()
public final void setWidth(CesiumProperty<Double> value)
public final CesiumProperty<Double> getResolution()
public final void setResolution(CesiumProperty<Double> value)
public final CesiumProperty<Double> getLeadTime()
public final void setLeadTime(CesiumProperty<Double> value)
public final CesiumProperty<Double> getTrailTime()
public final void setTrailTime(CesiumProperty<Double> value)
public final CesiumProperty<IPolylineMaterialGraphics> getMaterial()
SolidColorMaterialGraphics
with
Color
(get
/ set
) set to White
(get
).public final void setMaterial(CesiumProperty<IPolylineMaterialGraphics> value)
SolidColorMaterialGraphics
with
Color
(get
/ set
) set to White
(get
).public final CesiumProperty<Bounds> getDistanceDisplayCondition()
public final void setDistanceDisplayCondition(CesiumProperty<Bounds> value)