Exposes details of a detected tap gesture.
Ensure Tap Gesture is enabled under the project's Touch Gestures capability.
Inherits From : Gesture
Property | Description |
---|---|
location | (get) location: Point2D The screen space coordinates of the location that the tap gesture was detected, as a Point2D object.Coordinates are always returned in screen space, even if an object was specified in the touch gesture method call, for example: TouchGestures.onTap(plane) . |
objectDepthDistance | (get) objectDepthDistance: number The distance from the 3D location of the tap gesture to the camera, as a number .This requires an object to have been specified in the touch gesture method call, for example: TouchGestures.onTap(plane) . Otherwise, a value of infinity is returned. |
This module exposes no methods.