| Name | Type | Description |
|---|---|---|
options |
BufferPrimitiveMaterialOptions | optional |
Experimental
This 轮廓颜色。
See:
Members
轮廓宽度,范围为 0-255px。
填充颜色。
轮廓宽度,范围为 0-255px。
Methods
将提供的材质存储到指定的数组中。
| Name | Type | Description |
|---|---|---|
material |
BufferPrimitiveMaterial | |
view |
DataView | |
byteOffset |
number |
static Cesium.BufferPrimitiveMaterial.unpack(view, byteOffset, result) → BufferPrimitiveMaterial
从打包的数组中检索材质。
| Name | Type | Description |
|---|---|---|
view |
DataView | 打包后的数组。 |
byteOffset |
number | 待解包元素的起始索引。 |
result |
BufferPrimitiveMaterial | 被解包结果的材质。 |
Returns:
Modified 解包后的结果材质。
返回一个可序列化为 JSON 的对象,代表该材质。这种编码方式
并不节省内存,通常仅用于调试和测试。
。
Returns:
JSON-serializable
