ARGetAnchorStatus

Description

Returns the current tracking status of the given anchor. 0=stopped, 1=paused, 2=tracking, -1=don't know. Anchors can stop tracking if the camera loses tracking with the world, this can happen if the camera can't see enough features to work out how the scene is moving. For example by looking at a blank wall. When an anchor stops or pauses tracking it maintains its current position and rotation, but this no longer correlates to the world position it was tracking, so the anchor may appear to be drifting relative to the world. When the anchor resumes tracking it should return to its correct world position.

Definition

integer ARGetAnchorStatus( anchorID )

Parameters