Class ImageTrackerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the easyar.ImageTracker's MonoBehaviour in the scene, providing feature extensions in the Unity environment.
public class ImageTrackerFrameFilter : FrameFilter
- Inheritance
-
ImageTrackerFrameFilter
Fields
TrackerMode
Tracking mode, only effective if modified before session starts.
public ImageTrackerMode TrackerMode
Properties
EnableMotionFusion
Enables motion tracking. Overrides SetResultPostProcessing(bool).
public bool EnableMotionFusion { get; set; }
SimultaneousNum
The maximum number of targets that can be tracked by the tracker. Can be modified at any time and takes effect immediately.
public int SimultaneousNum { get; set; }
Targets
Loaded ImageTargetController.
public List<ImageTargetController> Targets { get; }
enabled
Starts/stops tracking when ARSession is running. Tracking will only start after session starts when MonoBehaviour.enabled is true.
public bool enabled { get; set; }
Methods
SetResultPostProcessing(bool)
Sets result post-processing. Overrides EnableMotionFusion. Only effective if modified after session starts.
public void SetResultPostProcessing(bool enablePersistentTargetInstance)
Parameters
enablePersistentTargetInstance
Events
TargetLoad
Event when target loading is completed. A bool value indicates whether the loading was successful.
public event Action<ImageTargetController, bool> TargetLoad
TargetUnload
Event when target unloading is completed. A bool value indicates whether the unloading was successful.
public event Action<ImageTargetController, bool> TargetUnload