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:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.