BufferPointMaterial

BufferPoint 的材质描述。

BufferPointMaterial 对象是可打包的,在调用 BufferPoint#setMaterial 时存储。后续对材质的更改不会影响点,直到再次调用 setMaterial()。

new Cesium.BufferPointMaterial(options)

Name Type Description
options BufferPointMaterialOptions optional
Experimental

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

Extends

Members

填充颜色。
Inherited From:
轮廓颜色。
Inherited From:
轮廓宽度,0-255像素。
Inherited From:
点大小,0-255像素。

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:
返回表示材质的 JSON 可序列化对象。这种编码方式不是内存高效的,通常应该用于调试和测试。
Returns:
JSON 可序列化对象。
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。