BufferPoint
Cesium v1.147 · 中文

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

BufferPoint 实例是 flyweights: 单个 BufferPoint 实例可以临时绑定到 BufferPointCollection 中的任何“点”上,从而允许非常大的集合以最小内存占用进行迭代和更新。

表示为一个位置。 该特性尚未定稿,可能会根据 Cesium 的标准弃用政策发生变化。 位置数组中的偏移量指向当前点的顶点,即 VEC3 元素的数量。

new Cesium.BufferPoint()

Experimental

This 从源点复制数据到结果点。

See:

Extends

Members

与原始类型相关的功能ID;不要求唯一。
Inherited From:

pickObject : object|undefined

用户定义的拾取对象,如有。当原始对象被渲染后, 拾取对象便无法再被更改。
Inherited From:
表示原始类型是否显示的布尔(0或1)标志。
Inherited From:

readonly vertexCount : number

返回表示该点的 JSON 可序列化对象。这种编码方式

Methods

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

此原始类型中的位置(顶点)数量。始终为 1。
Name Type Description
point BufferPoint
result BufferPoint
Returns:
Name Type Description
result BufferPrimitiveMaterial
Returns:
Inherited From:

getPosition(result) → Cartesian3

并不节省内存,通常仅用于调试和测试。
Name Type Description
result Cartesian3 optional
Returns:
Name Type Description
material BufferPrimitiveMaterial
Inherited From:
Sets the position of this point.
Name Type Description
position Cartesian3
Returns a JSON-serializable object representing the point. This encoding is not memory-efficient, and should generally be used for debugging and testing.
Returns:
JSON-serializable object.
Inherited From:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.