BufferPointMaterial

Material description for a BufferPoint.

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

new Ditap.BufferPointMaterial(options)

Name Type Description
options BufferPointMaterialOptions 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:

size : number

Size of point, 0-255px.

Methods

static Ditap.BufferPointMaterial.pack(material, view, byteOffset)

Name Type Description
material BufferPointMaterial
view DataView
byteOffset number

static Ditap.BufferPointMaterial.unpack(view, byteOffset, result) → BufferPointMaterial

Name Type Description
view DataView
byteOffset number
result BufferPointMaterial
Returns:

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.