import { BlendOption, BoundingSphere, ComponentDatatype, Matrix4, BufferPolygonCollection as CesiumBufferPolygonCollection } from 'cesium'; import { ReactNode } from 'react'; import { PickCesiumProps } from '../core'; export type BufferPolygonCollectionCesiumProps = PickCesiumProps; export type BufferPolygonCollectionConstructorProps = { /** The maximum number of polygons this collection can hold. Fixed at creation time. */ primitiveCountMax?: number; /** The maximum number of vertices across all polygons in this collection. Fixed at creation time. */ vertexCountMax?: number; /** The maximum number of holes across all polygons in this collection. Fixed at creation time. */ holeCountMax?: number; /** The maximum number of triangles across all polygons in this collection. Fixed at creation time. */ triangleCountMax?: number; /** The component datatype for position data. Fixed at creation time. */ positionDatatype?: ComponentDatatype; /** Whether primitives in the collection can be picked. Fixed at creation time. */ allowPicking?: boolean; /** * Model-to-world transform applied to every polygon. 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)`. */ modelMatrix?: Matrix4; /** * Precomputed bounding volume. **Interpreted in world space** (Cesium 1.142+); * apply the same `modelMatrix` to the bounding volume that you apply to the * polygons. Fixed at creation time. */ boundingVolume?: BoundingSphere; /** * Blending mode for the collection. Pair with an alpha-aware * `BufferPrimitiveMaterial` to render translucent polygons. Fixed at * creation time. */ blendOption?: BlendOption; }; export type BufferPolygonCollectionOtherProps = { children?: ReactNode; }; export type BufferPolygonCollectionProps = BufferPolygonCollectionCesiumProps & BufferPolygonCollectionConstructorProps & BufferPolygonCollectionOtherProps; declare const cesiumProps: readonly ["show", "debugShowBoundingVolume"]; declare const BufferPolygonCollection: import('..').CesiumComponentType; export default BufferPolygonCollection;