Extends
Members
与原始类型相关的功能ID;不要求唯一。
- Inherited From:
用户定义的拾取对象,如有。当原始对象被渲染后,
拾取对象便无法再被更改。
- Inherited From:
表示原始类型是否显示的布尔(0或1)标志。
- Inherited From:
否则,返回集合内存上的 ArrayView —— 对该数组的更改不会触发渲染更新,这需要调用 `.setPositions()` 方法。
Methods
static Cesium.BufferPolyline.clone(polyline, result) → BufferPolyline
必须具有相同的顶点数量。
集合位置数组中的偏移量指向折线的第一个顶点,即 VEC3 元素的数量。
此折线中位置(顶点)的数量,即 VEC3 元素的数量。
| Name | Type | Description |
|---|---|---|
polyline |
BufferPolyline | |
result |
BufferPolyline |
Returns:
getMaterial(result) → BufferPrimitiveMaterial
| Name | Type | Description |
|---|---|---|
result |
BufferPrimitiveMaterial |
Returns:
- Inherited From:
返回 {TypedArray}。
返回表示折线的 JSON 可序列化对象。这种编码方式
不节省内存,通常适用于调试和测试。
对象。
| Name | Type | Description |
|---|---|---|
result |
TypedArray | optional return {TypedArray} |
| Name | Type | Description |
|---|---|---|
material |
BufferPrimitiveMaterial |
- Inherited From:
| Name | Type | Description |
|---|---|---|
positions |
TypedArray |
Returns a JSON-serializable object representing the polyline. This encoding
is not memory-efficient, and should generally be used for debugging and
testing.
Returns:
JSON-serializable object.
- Inherited From:
