GoogleARCore.TrackableHit

Contains information about a raycast hit against a physical object tracked by ARCore.

Summary

Properties

Distance
float
Gets the distance from the origin of the ray to the hit.
Flags
Gets a bitmask where set TrackableHitFlag flags correspond to categories of objects the hit belongs to.
Pose
Pose
Gets the pose where the raycast hit the object in Unity world coordinates.
Trackable
Gets the hit's trackable object.

Properties

Distance

float GoogleARCore::TrackableHit::Distance

Gets the distance from the origin of the ray to the hit.

Flags

TrackableHitFlags GoogleARCore::TrackableHit::Flags

Gets a bitmask where set TrackableHitFlag flags correspond to categories of objects the hit belongs to.

Pose

Pose GoogleARCore::TrackableHit::Pose

Gets the pose where the raycast hit the object in Unity world coordinates.

Trackable

Trackable GoogleARCore::TrackableHit::Trackable

Gets the hit's trackable object.

Send feedback about...