Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Load a `Target`_ into the tracker. A Target can only be tracked by tracker after a successful load.
///This method is an asynchronous method. A load operation may take some time to finish and detection of a new/lost target may take more time during the load. The track time after detection will not be affected. If you want to know the load result, you have to handle the callback data. The callback will be called from the thread specified by `CallbackScheduler`_ . It will not block the track thread or any other operations except other load/unload.
///</summary>
Load a `Target`_ into the tracker. A Target can only be tracked by tracker after a successful load.
This method is an asynchronous method. A load operation may take some time to finish and detection of a new/lost target may take more time during the load. The track time after detection will not be affected. If you want to know the load result, you have to handle the callback data. The callback will be called from the thread specified by `CallbackScheduler`_ . It will not block the track thread or any other operations except other load/unload.
Load a ` Target ` _ into the tracker . A Target can only be tracked by tracker after a successful load . This method is an asynchronous method . A load operation may take some time to finish and detection of a new / lost target may take more time during the load . The track time after detection will not be affected . If you want to know the load result you have to handle the callback data . The callback will be called from the thread specified by ` CallbackScheduler ` _ . It will not block the track thread or any other operations except other load / unload .
public virtual void loadTarget(Target target, CallbackScheduler callbackScheduler, Action<Target, bool> callback)
        {
            using (var ar = new Detail.AutoRelease())
            {
                Detail.easyar_ImageTracker_loadTarget(cdata, target.cdata, callbackScheduler.cdata, Detail.FunctorOfVoidFromTargetAndBool_to_c(callback));
            }
        }
public virtual void loadTarget ( Target target , CallbackScheduler callbackScheduler , Action < Target , bool > callback ) { using ( var ar = new Detail . AutoRelease ( ) ) { Detail . easyar_ImageTracker_loadTarget ( cdata , target . cdata , callbackScheduler . cdata , Detail . FunctorOfVoidFromTargetAndBool_to_c ( callback ) ) ; } }
Load a `Target`_ into the tracker.
Load a ` Target ` _ into the tracker .
target
Target
callbackScheduler
CallbackScheduler
callback
Action<Target, bool>