Table of Contents

Class ObjectTrackerFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

A MonoBehaviour in the scene that controls easyar.ObjectTracker, providing extended functionality in the Unity environment.

public class ObjectTrackerFrameFilter : FrameFilter
Inheritance
ObjectTrackerFrameFilter

Properties

EnableMotionFusion

Enable 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

public List<ObjectTargetController> Targets { get; }

enabled

Start/stop tracking when ARSession is running. Tracking will start only when MonoBehaviour.enabled is true after the session has started.

public bool enabled { get; set; }

Methods

SetResultPostProcessing(bool)

Set result post-processing. Overrides EnableMotionFusion. Effective only after the session has started.

public void SetResultPostProcessing(bool enablePersistentTargetInstance)

Parameters

enablePersistentTargetInstance

Events

TargetLoad

Event when target loading is complete. A bool value indicates whether the loading was successful.

public event Action<ObjectTargetController, bool> TargetLoad

TargetUnload

Event when target unloading is complete. A bool value indicates whether the unloading was successful.

public event Action<ObjectTargetController, bool> TargetUnload