ObjectTrackerFrameFilter Class¶
Description¶
MonoBehaviour which controls ObjectTracker in the scene, providing a few extensions in the Unity environment. Use ObjectTrackerFrameFilter.Tracker directly when necessary.
Classes¶
public class ObjectTrackerFrameFilter.ResultParameters |
Result parameters. |
MonoBehaviour Messages¶
private void OnEnable() |
private void OnDisable() |
private void OnDestroy() |
Properties¶
Tracker¶
- C#
public ObjectTracker Tracker { get; }
EasyAR Sense API. Accessible after session ready 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.
ResultType¶
- C#
public ObjectTrackerFrameFilter.ResultParameters ResultType { get; set; }
Result parameters.
EnableMotionFusion¶
- C#
public bool EnableMotionFusion { get; set; }
Enable motion fusion. It is a delegate to ObjectTrackerFrameFilter.ResultType for common use.
Events¶
TargetLoad¶
- C#
public event Action< ObjectTargetController , bool> TargetLoad
Target load finish event. The bool value indicates the load success or not.
TargetUnload¶
- C#
public event Action< ObjectTargetController , bool> TargetUnload
Target unload finish event. The bool value indicates the unload success or not.