English中文

BufferPolygonMaterial

材料描述 Material description for a BufferPolygon.

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

new Cesium.BufferPolygonMaterial(options)

名称 Name 类型 Type 说明 Description
options BufferPolygonMaterialOptions 可选 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:

方法 Methods

返回表示材质的 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.
继承自: Inherited From:
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.