Skip to content

Instantly share code, notes, and snippets.

@iambaljeet
Created May 12, 2020 19:59
Show Gist options
  • Save iambaljeet/0d9a6614d50a405f35762b490f23b417 to your computer and use it in GitHub Desktop.
Save iambaljeet/0d9a6614d50a405f35762b490f23b417 to your computer and use it in GitHub Desktop.
arFragment = fragment as ArFragment
/**
* Touch listener to detect when a user touches the ArScene plane to place a model
*/
arFragment.setOnTapArPlaneListener { hitResult, plane, motionEvent ->
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment