ArPoint
Represents a point in space that ARCore is tracking.
Summary
Enumerations
Typedefs
Functions
ArPoint_getOrientationMode
(const ArSession
*session, const ArPoint
*point, ArPointOrientationMode
*out_orientation_mode)
void
ArPoint_getPose
(const ArSession
*session, const ArPoint
*point, ArPose
*out_pose)
void
Enumerations
ArPointOrientationMode
ArPointOrientationMode
Indicates the orientation mode of the ArPoint
.
The orientation of the ArPoint
will follow the behavior described in ArHitResult_getHitPose
.
The orientation of the ArPoint
is initialized to identity but may adjust slightly over time.
Typedefs
ArPoint
struct ArPoint_ ArPoint
An arbitrary point in space ( reference type, long-lived ).
- Trackable type:
AR_TRACKABLE_POINT - Release with:
ArTrackable_release
Functions
ArPoint_getOrientationMode
void ArPoint_getOrientationMode ( const ArSession * session , const ArPoint * point , ArPointOrientationMode * out_orientation_mode )
Returns the ArPointOrientationMode
of the point.
For ArPoint
objects created by ArFrame_hitTest
. If ArPointOrientationMode
is AR_POINT_ORIENTATION_ESTIMATED_SURFACE_NORMAL
, then normal of the surface centered around the ArPoint
was estimated successfully.
session
|
The ARCore session.
|
point
|
The point to retrieve the pose of.
|
out_orientation_mode
|
OrientationMode output result for the point.
|
ArPoint_getPose
void ArPoint_getPose ( const ArSession * session , const ArPoint * point , ArPose * out_pose )
Returns the pose of the point.
If ArPoint_getOrientationMode
returns AR_POINT_ORIENTATION_ESTIMATED_SURFACE_NORMAL
, the orientation will follow the behavior described in ArHitResult_getHitPose
. If ArPoint_getOrientationMode
returns AR_POINT_ORIENTATION_INITIALIZED_TO_IDENTITY
, then returns an orientation that is identity or close to identity.
session
|
The ARCore session.
|
point
|
The point to retrieve the pose of.
|
out_pose
|

