The AR fragment brings in the required view layout and controllers for common AR features.
Interface definition for a callback to be invoked when a touch event is dispatched to a scene.
The callback will be invoked before theScene.OnTouchListeneris invoked. This is invoked
even if the gesture was consumed, making it possible to observe all motion events dispatched to
the scene.
Called when a touch event is dispatched to a scene. The callback will be invoked before theScene.OnTouchListeneris invoked. This is invoked even if the gesture was consumed, making
it possible to observe all motion events dispatched to the scene. This is called even if the
touch is not over a node, in which casegetNode()will be null.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[],["`Scene.OnPeekTouchListener` is an interface that provides a callback for touch events dispatched to a scene. It's invoked before `Scene.OnTouchListener`, allowing observation of all motion events, even if consumed. The `onPeekTouch` method is called upon a touch event, supplying a `HitTestResult` (the touched node) and the `MotionEvent`. This occurs regardless of whether a node was touched; if not, `getNode()` will be null. Key implementations include `ArFragment` and `BaseArFragment`.\n"]]