BufferPointMaterial
Cesium v1.147 · 中文

BufferPoint 的材质描述。

BufferPointMaterial objects are packable, stored BufferPoint#setMaterial 时存储。后续对材质的修改 不会影响该点,直到再次调用 setMaterial() 为止。

new Cesium.BufferPointMaterial(options)

Name Type Description
options BufferPointMaterialOptions optional
Experimental

This 此特性尚未最终确定,可能会根据 Cesium 的标准弃用政策发生变化。

Extends

Members

轮廓宽度,范围为 0-255px。
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-serializable 对象。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.