@novorender/web_app / PickContext
Interface: PickContext
A context interface for pick operations.
Remarks
This is used by some controllers to determine the position and depth of point of screen to allow e.g. orbiting around said point. You may pass View or RenderContext directly, or wrap some custom variant of picking in your own object.
See
Properties
pick()
pick: (x, y, options?) => Promise<undefined | PickSample>;
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
options ? | PickOptions |
Returns
Promise
<undefined
| PickSample
>