NGL@0.10.4 Home Manual Reference Source GalleryRepository
import PickingControls from 'ngl/src/controls/picking-controls.js'
public class | source

PickingControls

Picking controls

Method Summary

Public Methods
public

get picking data

Public Methods

public pick(x: Number, y: Number): PickingProxy | undefined source

get picking data

Params:

NameTypeAttributeDescription
x Number

canvas x coordinate

y Number

canvas y coordinate

Return:

PickingProxy | undefined

picking proxy