View bound to the underlying buffer data of a BufferPrimitiveCollection. Abstract. 在大型收集器上反复使用, 并临时绑定在原始指数上 进行读写操作, 回到下一个原始人之前,使用 flyweight pattern.

abstract new Cesium.BufferPrimitive()

Experimental

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

See:

Members

featureId : number

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

show : boolean

是否显示原始 .

Methods

static Cesium.BufferPrimitive.clone(primitive, result)BufferPrimitive

从原始源复制到结果的数据。 如果结果不是原始的 new (the last primitive in the collection) then source and result primitives 必须有相同的顶点数.
Name Type Description
primitive BufferPrimitive
result BufferPrimitive
Returns:

getColor(result)Color

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

setColor(color)

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

toJSON()Object

Returns a JSON-serializable object representing the primitive. This encoding 没有内存效率,一般应用于调试和 testing.
Returns:
JSON-serializable object.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.