HitResult

public class HitResult

Defines an intersection between a ray and estimated real-world geometry.

Public Methods

Anchor
createAnchor()
Creates a new anchor at the hit location.
boolean
equals(Object obj)
Indicates whether some other object is a HitResult referencing the same logical hit result as this one.
float
getDistance()
Returns the distance from the camera to the hit location, in meters.
Pose
getHitPose()
Returns the pose of the intersection between a ray and detected real-world geometry.
Trackable
getTrackable()
Returns the Trackable that was hit.
int
hashCode()
Returns a hash code value for the object.

Inherited Methods

Public Methods