BufferPolygonMaterial

Material description for a BufferPolygon.

BufferPolygonMaterial objects are packable, stored when calling BufferPolygon#setMaterial. Subsequent changes to the material will not affect the polygon until setMaterial() is called again.

new Ditap.BufferPolygonMaterial(options)

Name Type Description
options BufferPolygonMaterialOptions optional
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

Extends

Members

color : Color

Color of fill.
Inherited From:

outlineColor : Color

Color of outline.
Inherited From:

outlineWidth : number

Width of outline, 0-255px.
Inherited From:

Methods

toJSON() → Object

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-serializable object.
Inherited From: