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-255px。
Inherited From:
点大小,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:
返回表示该材质的可 JSON 序列化的对象。此编码 不具有内存效率,通常应用于调试和测试。
Returns:
可 JSON 序列化的对象。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.