Skip to content
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

Address issues from CG call - hit test results for transient input did not specify input source used #1

Open
wants to merge 2 commits into
base: explainer-merge
Choose a base branch
from

Conversation

bialpio
Copy link
Owner

@bialpio bialpio commented Oct 16, 2019

One way to solve the problem of the application not knowing which input source was used to obtain hit test results for transient input source.

Adds XRTransientInputHitTestSource that would be returned from XRSession.requestHitTestSourceForTransientInput().

Using a XRTransientInputHitTestSource, the application can query the results using XRFrame.getHitTestResultsForTransientInput() - this returns an array containing XRTransientInputHitTestResult objects.

Single XRTransientInputHitTestResult contains an XRInputSource and an array of actual XRHitTestResults and is used purely for identifying which input source was used to obtain the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant