Experimental
This feature is not final and is subject to change without Cesium's standard deprecation policy.
See:
Members
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:
更新原始颜色.
| Name | Type | Description |
|---|---|---|
color |
Color |
Returns a JSON-serializable object representing the primitive. This encoding
没有内存效率,一般应用于调试和
testing.
Returns:
JSON-serializable object.