实验性 Experimental
此功能不是最终版本,可能会在没有 Cesium 标准弃用政策的情况下进行更改。 This feature is not final and is subject to change without Cesium's standard deprecation policy.
另见: See:
成员 Members
与图元关联的特征 ID;不要求是唯一的。 Feature ID associated with the primitive; not required to be unique.
是否显示原语。 Whether primitive is shown.
方法 Methods
static Cesium.BufferPrimitive.clone(primitive, result) → BufferPrimitive
将数据从源原语复制到结果。如果结果基元不是新的(集合中的最后一个基元),则源基元和结果基元必须具有相同的顶点数。 Copies data from source primitive to result. If the result primitive is not new (the last primitive in the collection) then source and result primitives must have the same vertex counts.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
primitive |
BufferPrimitive | |
result |
BufferPrimitive |
返回: Returns:
getMaterial(result) → BufferPrimitiveMaterial
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
result |
BufferPrimitiveMaterial |
返回: Returns:
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
material |
BufferPrimitiveMaterial |
返回表示基元的 JSON 可序列化对象。这种编码不节省内存,通常应该用于调试和测试。 Returns a JSON-serializable object representing the primitive. This encoding is not memory-efficient, and should generally be used for debugging and testing.
返回: Returns:
JSON 可序列化对象。 JSON-serializable object.
