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.

参考:

继承

成员(属性)

Feature ID associated with the primitive; not required to be unique.
继承自:
Whether primitive is shown.
继承自:

readonly vertexCount : number

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

方法

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

Copies data from source point to result.
参数名称 类型 描述信息
point BufferPoint
result BufferPoint
返回值:
Returns the color of primitive.
参数名称 类型 描述信息
result Color
返回值:
继承自:
Gets the position of this point.
参数名称 类型 描述信息
result Cartesian3 可选
返回值:
Updates the color of primitive.
参数名称 类型 描述信息
color Color
继承自:
Sets the position of this point.
参数名称 类型 描述信息
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.
返回值:
JSON-serializable object.
继承自: