SnapOptions

interface SnapOptions(source)

Properties

Link copied to clipboard
abstract val camera: Camera

The camera defining the current view.

Link copied to clipboard
abstract val canvasHeight: Double

The canvas height in CSS pixels.

Link copied to clipboard
abstract val canvasWidth: Double

The canvas width in CSS pixels.

Link copied to clipboard
abstract val closePoint: Cartesian3?

A reference point near the target geometry that seeds the snap search. Default value - options.testPoint

Link copied to clipboard
abstract val elementId: String

An implementation-defined identifier of the geometry to snap to.

Link copied to clipboard
abstract val snapAperture: Double?

The snap tolerance in CSS pixels. Default value - SnapService.DEFAULT_SNAP_APERTURE

Link copied to clipboard
abstract val testPoint: Cartesian3

The point to snap from, typically the picked cursor position.