Table of Contents

Class ObjectTrackerFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

Control the easyar.ObjectTracker of MonoBehaviour in the scene, and provide functional extensions in the Unity environment.

public class ObjectTrackerFrameFilter : FrameFilter
Inheritance
ObjectTrackerFrameFilter

Properties

EnableMotionFusion

Enable motion tracking. Will override 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

public List<ObjectTargetController> Targets { get; }

Property Value

Methods

SetResultPostProcessing(bool)

Set result post-processing. Will override EnableMotionFusion. Effective only if modified before session starts.

public void SetResultPostProcessing(bool enablePersistentTargetInstance)

Parameters

enablePersistentTargetInstance

Events

TargetLoad

Event when Target loading is completed. The bool value indicates whether the loading is successful.

public event Action<ObjectTargetController, bool> TargetLoad

Event Type

TargetUnload

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

public event Action<ObjectTargetController, bool> TargetUnload

Event Type