BufferPolylineMaterial

BufferPolyline 的材质描述。

BufferPolylineMaterial 对象是可打包的,在调用 BufferPolyline#setMaterial 时存储。对材质的后续更改不会影响折线, 除非再次调用 setMaterial()。

new Cesium.BufferPolylineMaterial(options)

Name Type Description
options BufferPolylineMaterialOptions optional
Experimental

此功能尚未最终确定,可能会在不遵循 Cesium 标准弃用政策的情况下进行更改。

Extends

Members

填充颜色。
Inherited From:
轮廓颜色。
Inherited From:
轮廓宽度,0-255px。
Inherited From:
折线宽度,0–255px。

Methods

static Cesium.BufferPolylineMaterial.pack(material, view, byteOffset)

Name Type Description
material BufferPolylineMaterial
view DataView
byteOffset number

static Cesium.BufferPolylineMaterial.unpack(view, byteOffset, result)BufferPolylineMaterial

Name Type Description
view DataView
byteOffset number
result BufferPolylineMaterial
Returns:
返回表示该材质的可 JSON 序列化的对象。此编码 不具有内存效率,通常应用于调试和测试。
Returns:
可 JSON 序列化的对象。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.