English中文

BufferPoint

绑定到底层缓冲区数据的视图 View bound to the underlying buffer data of a BufferPointCollection.

BufferPoint 实例是 BufferPoint instances are flyweights:单个 BufferPoint 实例可以临时绑定到 BufferPointCollection 中的任何概念“点”,从而允许以最小的内存占用量迭代和更新非常大的集合。 : a single BufferPoint instance can be temporarily bound to any conceptual "point" in a BufferPointCollection, allowing very large collections to be iterated and updated with a minimal memory footprint.

表示为一 (1) 个位置。 Represented as one (1) position.

new Cesium.BufferPoint()

实验性 Experimental

此功能不是最终版本,可能会在没有 Cesium 标准弃用政策的情况下进行更改。 This feature is not final and is subject to change without Cesium's standard deprecation policy.

另见: See:

继承 Extends

成员 Members

与图元关联的特征 ID;不要求是唯一的。 Feature ID associated with the primitive; not required to be unique.
继承自: Inherited From:
是否显示原语。 Whether primitive is shown.
继承自: Inherited From:

readonly vertexCount : number

此基元中的位置(顶点)计数。总是 1。 Count of positions (vertices) in this primitive. Always 1.

方法 Methods

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

将数据从源点复制到结果。 Copies data from source point to result.
名称 Name 类型 Type 说明 Description
point BufferPoint
result BufferPoint
返回: Returns:
名称 Name 类型 Type 说明 Description
result BufferPrimitiveMaterial
返回: Returns:
继承自: Inherited From:
获取该点的位置。 Gets the position of this point.
名称 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
返回表示该点的 JSON 可序列化对象。这种编码不节省内存,通常应该用于调试和测试。 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 可序列化对象。 JSON-serializable object.
继承自: Inherited From:
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.