ImageTrackerFrameFilter Class¶
Description¶
MonoBehaviour which controls ImageTracker in the scene, providing a few extensions in the Unity environment. Use ImageTrackerFrameFilter.Tracker directly when necessary.
MonoBehaviour Messages¶
protected virtual void Awake() |
protected virtual void OnEnable() |
protected virtual void OnDisable() |
protected virtual void OnDestroy() |
Fields¶
TrackerMode¶
- C#
public ImageTrackerMode TrackerMode
ImageTrackerMode used when creating ImageTrackerFrameFilter.Tracker .
Properties¶
Tracker¶
- C#
public ImageTracker Tracker { get; }
EasyAR Sense API. Accessible after Awake if available.
SimultaneousNum¶
- C#
public int SimultaneousNum { get; set; }
The max number of targets which will be the simultaneously tracked by the tracker. Modify at any time and takes effect immediately.
TargetControllers¶
- C#
public List< TargetController > TargetControllers { get; }
TargetController that has been loaded.
EnableMotionFusion¶
- C#
public bool EnableMotionFusion { get; set; }
Enable motion fusion.
Motion fusion will only work when a) one type of motion tracking is running and b) target scale is set to the scale in real world and c) the target does not move in real world.
Events¶
TargetLoad¶
- C#
public event Action< ImageTargetController , Target , bool> TargetLoad
Target load finish event. The bool value indicates the load success or not.
TargetUnload¶
- C#
public event Action< ImageTargetController , Target , bool> TargetUnload
Target unload finish event. The bool value indicates the unload success or not.
Methods¶
LoadTarget¶
- C#
public void LoadTarget( ImageTargetController target)
Load target.
UnloadTarget¶
- C#
public void UnloadTarget( ImageTargetController target)
Unload target.