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