通过调用创建这个 Create this by calling
可渲染的折线。 A renderable polyline.
PolylineCollection#add。不要直接调用构造函数。 . Do not call the constructor directly.
另见: See:
成员 Members
distanceDisplayCondition : DistanceDisplayCondition
获取或设置指定在距相机的距离处显示该多段线的条件。 Gets or sets the condition specifying at what distance from the camera that this polyline will be displayed.
-
默认值: Default Value:
undefined
获取或设置选取折线时返回的用户定义值。 Gets or sets the user-defined value returned when the polyline is picked.
获取或设置是否在第一个和最后一个折线位置之间添加线段。 Gets or sets whether a line segment will be added between the first and last polyline positions.
material : Material
获取或设置折线的表面外观。这可以是几个内置的之一 Gets or sets the surface appearance of the polyline. This can be one of several built-in
Material 对象或自定义材质,编写脚本 objects or a custom material, scripted with
Fabric.
positions : Array.<Cartesian3>
获取或设置折线的位置。 Gets or sets the positions of the polyline.
示例: Example:
polyline.positions = Cesium.Cartesian3.fromDegreesArray([
0.0, 0.0,
10.0, 0.0,
0.0, 20.0
]);
确定是否显示该折线。使用它来隐藏或显示折线,而不是删除它并将其重新添加到集合中。 Determines if this polyline will be shown. Use this to hide or show a polyline, instead of removing it and re-adding it to the collection.
获取或设置折线的宽度。 Gets or sets the width of the polyline.
