BufferPointMaterial

Material description for a BufferPoint.

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

new Cesium.BufferPointMaterial(options)

Name Type Description
options BufferPointMaterialOptions 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:
Size of point, 0-255px.

Methods

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

Name Type Description
material BufferPointMaterial
view DataView
byteOffset number

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

Name Type Description
view DataView
byteOffset number
result BufferPointMaterial
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.