import { Layer, LayerProps, LayerDataSource, UpdateParameters, Unit, AccessorFunction, Position, Accessor, Color, Material, DefaultProps } from '@deck.gl/core'; import { Model } from '@luma.gl/engine'; /** All properties supported by PointCloudLayer. */ export type PointCloudLayerProps = _PointCloudLayerProps & LayerProps; /** Properties added by PointCloudLayer. */ type _PointCloudLayerProps = { data: LayerDataSource; /** * The units of the point size, one of `'meters'`, `'common'`, and `'pixels'`. * @default 'pixels' */ sizeUnits?: Unit; /** * Global radius of all points, in units specified by `sizeUnits` * @default 10 */ pointSize?: number; /** * @deprecated Use `pointSize` instead */ radiusPixels?: number; /** * Material settings for lighting effect. * * @default true * @see https://deck.gl/docs/developer-guide/using-lighting */ material?: Material; /** * Method called to retrieve the position of each object. * @default object => object.position */ getPosition?: AccessorFunction; /** * The normal of each object, in `[nx, ny, nz]`. * @default [0, 0, 1] */ getNormal?: Accessor; /** * The rgba color is in the format of `[r, g, b, [a]]` * @default [0, 0, 0, 255] */ getColor?: Accessor; }; /** Render a point cloud with 3D positions, normals and colors. */ export default class PointCloudLayer extends Layer>> { static layerName: string; static defaultProps: DefaultProps>; state: { model?: Model; }; getShaders(): any; initializeState(): void; updateState(params: UpdateParameters): void; draw({ uniforms }: { uniforms: any; }): void; protected _getModel(): Model; } export {}; //# sourceMappingURL=point-cloud-layer.d.ts.map