| Name | Type | Description |
|---|---|---|
options |
BufferPrimitiveMaterialOptions | optional |
Experimental
此功能尚未最终确定,可能会在不遵循 Cesium 标准弃用策略的情况下进行更改。
See:
Members
填充颜色。
outlineColor : Color
轮廓颜色。
轮廓宽度,0-255像素。
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:
修改后的结果材质,结果已解包。
返回表示材质的可 JSON 序列化对象。这种编码方式不节省内存,通常应仅用于调试和测试。
Returns:
可 JSON 序列化的对象。
