View bound to the underlying buffer data of a BufferPointCollection.

BufferPoint instances are flyweights: 单个缓冲点实例可暂时与任何概念绑定 "点"在一个缓冲点集合, 允许非常大的集合 iterated and updated with a minimal memory footprint.

代表1(1)个职位.

new Cesium.BufferPoint()

Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

See:

Extends

Members

featureId : number

与原始人相关的特征ID;不需要独具特色.
Inherited From:

show : boolean

是否显示原始 .
Inherited From:

readonly vertexCount : number

在这个原始位置(verties)的计数. 总是一.

Methods

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

从源点到结果的复制数据.
Name Type Description
point BufferPoint
result BufferPoint
Returns:

getColor(result)Color

返回原始颜色.
Name Type Description
result Color
Returns:
Inherited From:

getPosition(result)Cartesian3

获得此点的位置 .
Name Type Description
result Cartesian3 optional
Returns:

setColor(color)

更新原始颜色.
Name Type Description
color Color
Inherited From:

setPosition(position)

设置此点的位置.
Name Type Description
position Cartesian3

toJSON()Object

Returns a JSON-serializable object representing the point. This encoding 没有内存效率,一般应用于调试和 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.