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)

参数名称 类型 描述信息
options BufferPointMaterialOptions 可选
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.
继承自:
Size of point, 0-255px.

方法

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

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

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

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