Class ImageTrackerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the easyar.ImageTracker of MonoBehaviour in the scene, providing functional extensions in the Unity environment.
public class ImageTrackerFrameFilter : FrameFilter
- Inheritance
-
ImageTrackerFrameFilter
Fields
TrackerMode
Tracking mode, effective only if modified before the session starts.
public ImageTrackerMode TrackerMode
Field Value
Properties
EnableMotionFusion
Enables motion tracking. Overrides SetResultPostProcessing(bool).
public bool EnableMotionFusion { get; set; }
Property Value
SimultaneousNum
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; }
Property Value
Targets
The loaded ImageTargetController.
public List<ImageTargetController> Targets { get; }
Property Value
Methods
SetResultPostProcessing(bool)
Sets result post-processing. Overrides EnableMotionFusion. Effective only if modified before the 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
Event Type
TargetUnload
Event when target unloading is completed. A bool value indicates whether the unloading was successful.
public event Action<ImageTargetController, bool> TargetUnload