English中文

BufferPointMaterial

材料描述 Material description for a BufferPoint.

BufferPointMaterial 对象是 BufferPointMaterial objects are packable,调用时存储 , stored when calling BufferPoint#setMaterial。在再次调用 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

此功能不是最终版本,可能会在没有 Cesium 标准弃用政策的情况下进行更改。 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:
轮廓宽度,0-255px。 Width of outline, 0-255px.
继承自: Inherited From:
点的大小,0-255px。 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:
返回表示材质的 JSON 可序列化对象。这种编码不节省内存,通常应该用于调试和测试。 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 可序列化对象。 JSON-serializable object.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.