BufferPoint

View bound to the underlying buffer data of a BufferPointCollection.

BufferPoint instances are flyweights: a single BufferPoint instance can be temporarily bound to any conceptual "point" in a BufferPointCollection, allowing very large collections to be iterated and updated with a minimal memory footprint.

Represented as one (1) position.

new Cesium.BufferPoint()

Experimental

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

See:

Extends

Members

Feature ID associated with the primitive; not required to be unique.
Inherited From:
Whether primitive is shown.
Inherited From:

readonly vertexCount : number

Count of positions (vertices) in this primitive. Always 1.

Methods

static Cesium.BufferPoint.clone(point, result)BufferPoint

Copies data from source point to result.
Name Type Description
point BufferPoint
result BufferPoint
Returns:
Returns the color of primitive.
Name Type Description
result Color
Returns:
Inherited From:
Gets the position of this point.
Name Type Description
result Cartesian3 optional
Returns:
Updates the color of primitive.
Name Type Description
color Color
Inherited From:
Sets the position of this point.
Name Type Description
position Cartesian3
Returns a JSON-serializable object representing the point. This encoding is not memory-efficient, and should generally be used for debugging and testing.
Returns:
JSON-serializable object.
Inherited From:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.