SceneSnapResult

external interface SceneSnapResult(source)

The result of a snap operation. See Scene.snap.

Properties

Link copied to clipboard
abstract val isEdge: Boolean

true if the snap point lies on an edge; false if it lies on a surface.

Link copied to clipboard
abstract val obj: JsAny
Link copied to clipboard
abstract val position: Cartesian3

The world-space position of the snap point, un-projected from the snap framebuffer's eye-space depth.

Link copied to clipboard

The window coordinates of the snap point.