BufferPolylineMaterial

Material description for a BufferPolyline.

BufferPolylineMaterial objects are packable, stored when calling BufferPolyline#setMaterial. Subsequent changes to the material will not affect the polyline until setMaterial() is called again.

new Cesium.BufferPolylineMaterial(options)

参数名称 类型 描述信息
options BufferPolylineMaterialOptions 可选
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

继承

成员(属性)

Color of fill.
继承自:
Color of outline.
继承自:
Width of outline, 0-255px.
继承自:
Width of polyline, 0–255px.

方法

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

参数名称 类型 描述信息
material BufferPolylineMaterial
view DataView
byteOffset number

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

参数名称 类型 描述信息
view DataView
byteOffset number
result BufferPolylineMaterial
返回值:
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.