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)

Name Type Description
options BufferPolylineMaterialOptions optional
Experimental

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

Extends

Members

Color of fill.
Inherited From:
Color of outline.
Inherited From:
Width of outline, 0-255px.
Inherited From:
Width of polyline, 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:
Returns a JSON-serializable object representing the material. This encoding is not memory-efficient, and should generally be used for debugging and testing.
Returns:
JSON-serializable object.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.