Experimental
This feature is not final and is subject to change without Cesium's standard deprecation policy.
参考:
成员(属性)
Feature ID associated with the primitive; not required to be unique.
Whether primitive is shown.
方法
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.
| 参数名称 | 类型 | 描述信息 |
|---|---|---|
primitive |
BufferPrimitive | |
result |
BufferPrimitive |
返回值:
getColor(result) → Color
Returns the color of primitive.
| 参数名称 | 类型 | 描述信息 |
|---|---|---|
result |
Color |
返回值:
Updates the color of primitive.
| 参数名称 | 类型 | 描述信息 |
|---|---|---|
color |
Color |
Returns a JSON-serializable object representing the primitive. This encoding
is not memory-efficient, and should generally be used for debugging and
testing.
返回值:
JSON-serializable object.
