Skip to main content
Version: 3.x

Interface: IntersectionFromPixelOptions

@cognite/reveal.IntersectionFromPixelOptions

Options to control how Cognite3DViewer.getIntersectionFromPixel behaves.

deprecated Since 3.1 these options have no effect.

Properties

pointIntersectionThreshold

Optional pointIntersectionThreshold: number

Threshold (in meters) for how close a point must be an intersection ray for it to be considered an intersection for point clouds. Defaults to 0.05.

deprecated Since 3.1, threshold doesn't affect picking because of new, GPU based method.

Defined in

packages/api/src/public/migration/types.ts:226