NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import PickingControls from 'ngl/src/controls/picking-controls.js'
public class | source

PickingControls

Picking controls

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

get picking data

Public Constructors

public constructor() source

Public Members

public stage source

public viewer source

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