BufferPrimitive
Cesium v1.147 · 中文

该视图绑定于 BufferPrimitiveCollection 的底层缓冲区数据。抽象概念。

当遍历大型集合时,BufferPrimitive 实例旨在被重复使用, 并在对该原始类型执行读写操作时临时绑定到原始索引, 随后使用 flyweight pattern 重新绑定到下一个原始类型。

abstract new Cesium.BufferPrimitive()

Experimental

This 此功能尚未定稿,可能会根据 Cesium 的标准弃用政策进行变更。

See:

Members

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

pickObject : object|undefined

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

Methods

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

必须具有相同的顶点数量,以保证快速且稳定的性能。 与原始类型相关的功能ID;不要求唯一。 表示原始类型是否显示的布尔(0或1)标志。
Name Type Description
primitive BufferPrimitive
result BufferPrimitive
Returns:
Name Type Description
result BufferPrimitiveMaterial
Returns:
Name Type Description
material BufferPrimitiveMaterial
返回一个可序列化为 JSON 的对象,代表原始对象。此编码方式 不会节省内存,通常仅用于调试和测试。 对象。
Returns:
JSON-serializable object.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.