| 参数名称 | 类型 | 描述信息 |
|---|---|---|
options |
BufferPrimitiveMaterialOptions | 可选 |
Experimental
This feature is not final and is subject to change without Cesium's standard deprecation policy.
参考:
成员(属性)
Color of fill.
outlineColor : Color
Color of outline.
Width of outline, 0-255px.
方法
Stores the provided material into the provided array.
| 参数名称 | 类型 | 描述信息 |
|---|---|---|
material |
BufferPrimitiveMaterial | |
view |
DataView | |
byteOffset |
number |
static Cesium.BufferPrimitiveMaterial.unpack(view, byteOffset, result) → BufferPrimitiveMaterial
Retrieves a material from a packed array.
| 参数名称 | 类型 | 描述信息 |
|---|---|---|
view |
DataView | The packed array. |
byteOffset |
number | Starting index of the element to be unpacked. |
result |
BufferPrimitiveMaterial | Material into which results are unpacked. |
返回值:
Modified result material, with results unpacked.
Returns a JSON-serializable object representing the material. This encoding
is not memory-efficient, and should generally be used for debugging and
testing.
返回值:
JSON-serializable object.
