Skip to content

BufferPointCollection

BufferPointCollection is a high-performance collection of buffer point primitives (experimental). It can have BufferPoint components as children.

This is a low-level primitive API for rendering large numbers of points efficiently. Note: This API is experimental and subject to change without standard deprecation.

Inside Viewer or CesiumWidget component. A BufferPointCollection object will be attached to the PrimitiveCollection of the Viewer or CesiumWidget.

Property Type Description
show boolean
debugShowBoundingVolume boolean
Property Type Description
primitiveCountMax number | undefined The maximum number of points this collection can hold. Fixed at creation time.
modelMatrix Matrix4 | undefined Model-to-world transform applied to every point. Fixed at creation time — Cesium 1.141 made the property readonly post-construction. To animate, hold a ref and mutate the Matrix4 in place via Matrix4.clone(next, current).
boundingVolume BoundingSphere | undefined Precomputed bounding volume. Interpreted in world space (Cesium 1.142+); apply the same modelMatrix to the bounding volume that you apply to the points. Providing this skips the per-frame recompute cost on large animated collections. Fixed at creation time.
blendOption BlendOption | undefined Blending mode for the collection. Use BlendOption.OPAQUE_AND_TRANSLUCENT (or TRANSLUCENT) together with a BufferPrimitiveMaterial whose color.alpha/outlineColor.alpha is less than 1 to render translucent points. Fixed at creation time.

N/A

Property Type Description
children ReactNode