BufferPoint

绑定到 BufferPointCollection 底层缓冲区数据的视图。

BufferPoint 实例采用 享元模式: 单个 BufferPoint 实例可以临时绑定到 BufferPointCollection 中任意概念上的 "点",从而以最小的内存开销迭代和更新超大型集合。

表示为一个 (1) 位置。

new Cesium.BufferPoint()

Experimental

此功能尚未最终确定,可能会在 Cesium 标准弃用政策之外发生变化。

See:

Extends

Members

与图元关联的特征 ID;不要求唯一。
Inherited From:
是否显示图元。
Inherited From:

readonly vertexCount : number

此图元中位置(顶点)的数量。始终为 1。

Methods

static Cesium.BufferPoint.clone(point, result)BufferPoint

将数据从源点复制到结果。
Name Type Description
point BufferPoint
result BufferPoint
Returns:
Name Type Description
result BufferPrimitiveMaterial
Returns:
Inherited From:
获取此点的位置。
Name Type Description
result Cartesian3 optional
Returns:
Name Type Description
material BufferPrimitiveMaterial
Inherited From:
设置此点的位置。
Name Type Description
position Cartesian3
返回表示该点的可 JSON 序列化对象。此编码方式 并非内存高效型,通常应用于调试和测试。
Returns:
可 JSON 序列化的对象。
Inherited From:
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。