List
Best way to detect when Image is tracking for own code.
Posted Date: 2020-04-12 19:12     Edited Date: 2020-04-13 5:52     Writer: inactive

Please provide your development details as below;

1. SDK Version: 5.0.1
2. Development Environment: Unity
3. Tracker/Scanner: Image Tracking
4. License Type: Free
5. Target Device(Optional):
 

Hello

I'm trying to find the best way to detect when a specific Image Tracker is either tracking or not tracking for my code to use. Image Trackable Behaviour script does not allow me to use GetComponent. 

Any help is appreciated.

Posted Date: 2020-04-13 5:52     Edited Date: 2020-04-13 5:52     Writer: sjkim

Thanks for your interest to our MAXST AR SDK.
 

GetComponent in ImageTrackableBehaviour is a variable that render and collider of child objects.

As mentioned, to check the tracking of the target, you can grasp it through the TrackingState.GetTrackingResult () function of ImageTrackerSample.

 

Please reference to buttom page.

https://developer.maxst.com/d/APIRef/v5.0.x/Unity/classmaxst_a_r_1_1_tracking_state.html#aeb1018f462e84df358413665f151c868

 

If you have other question, feel free to continues question us.

 

 

Best regards

Francisco

MAXST Support Team