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