Table of Contents

Class ObjectTrackerFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

A MonoBehaviour that controls easyar.ObjectTracker in the scene, providing functional extensions in the Unity environment.

public class ObjectTrackerFrameFilter : FrameFilter
Inheritance
ObjectTrackerFrameFilter

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

public List<ObjectTargetController> 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<ObjectTargetController, bool> TargetLoad

TargetUnload

Event when Target unloading is completed. The bool value indicates whether unloading succeeded.

public event Action<ObjectTargetController, bool> TargetUnload