-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picking API #1177
Comments
I've done some deeper investigating on this in the past few days. We are currently limited by the fact that we've opted out of React Three Fiber's events system due to a bug with pointer capture (cf. #994 and #995). The It is my hope that this bug is no longer present in the latest version of R3F. So once we upgrade R3F (as part of the React 18) upgrade, we can try removing Assuming the pointer capture bug is resolved, opting in to R3F's events system should make implementing a Picking API much more straightforward:
|
Now a plot can contain many displayed items, including data arrays.
On my actual use case, the plot contains at least
It would be good to provide a helpers for picking data from the data coords.
To retrieve:
The plot already have the full knowledge of the transformations. Which can be very complex for items like tiling. So i would prefer not to compute such thing on my side.
The aim for now is to feed a tooltip.
The text was updated successfully, but these errors were encountered: