Extends
Members
与图元关联的特征 ID;不需要唯一。
- Inherited From:
图元是否显示。
- Inherited From:
此折线中的位置(顶点)数量,VEC3 元素数量。
Methods
static Cesium.BufferPolyline.clone(polyline, result) → BufferPolyline
将源折线的数据复制到结果。如果结果折线不是新的
(集合中的最后一条折线),则源折线和结果折线
必须具有相同的顶点数。
| Name | Type | Description |
|---|---|---|
polyline |
BufferPolyline | |
result |
BufferPolyline |
Returns:
getMaterial(result) → BufferPrimitiveMaterial
| Name | Type | Description |
|---|---|---|
result |
BufferPrimitiveMaterial |
Returns:
- Inherited From:
返回此折线顶点位置的数组视图。如果给定 'result'
参数,顶点位置将写入该数组并返回。
否则,返回集合内存上的 ArrayView — 对此数组的更改
不会触发渲染更新,这需要 `.setPositions()`。
| Name | Type | Description |
|---|---|---|
result |
TypedArray | optional return {TypedArray} |
| Name | Type | Description |
|---|---|---|
material |
BufferPrimitiveMaterial |
- Inherited From:
| Name | Type | Description |
|---|---|---|
positions |
TypedArray |
返回表示该折线的可 JSON 序列化的对象。此编码
不具有内存效率,通常应用于调试和测试。
Returns:
可 JSON 序列化的对象。
- Inherited From:
