English中文

BufferPolylineMaterial

材料描述 Material description for a BufferPolyline.

BufferPolylineMaterial 对象是 BufferPolylineMaterial objects are packable,调用时存储 , stored when calling BufferPolyline#setMaterial。在再次调用 setMaterial() 之前,对材质的后续更改不会影响折线。 . Subsequent changes to the material will not affect the polyline until setMaterial() is called again.

new Cesium.BufferPolylineMaterial(options)

名称 Name 类型 Type 说明 Description
options BufferPolylineMaterialOptions 可选 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。 Width of polyline, 0–255px.

方法 Methods

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

名称 Name 类型 Type 说明 Description
material BufferPolylineMaterial
view DataView
byteOffset number

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

名称 Name 类型 Type 说明 Description
view DataView
byteOffset number
result BufferPolylineMaterial
返回: 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.