ImageTrackerFrameFilter Class

Description

MonoBehaviour which controls ImageTracker in the scene, providing a few extensions in the Unity environment.


Fields

TrackerMode

C#

public ImageTrackerMode TrackerMode

Tracking mode. Only effective if modified before the session starts.


Properties

enabled

C#

public bool enabled { get; set; }

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

Targets

C#

public List< ImageTargetController > Targets { get; }

ImageTargetController that has been loaded.

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.

EnableMotionFusion

C#

public bool EnableMotionFusion { get; set; }

Enable motion fusion. Overwrites ImageTrackerFrameFilter.SetResultPostProcessing .


Events

TargetLoad

C#

public event Action< ImageTargetController , bool> TargetLoad

Target load finish event. The bool value indicates the load success or not.

TargetUnload

C#

public event Action< ImageTargetController , bool> TargetUnload

Target unload finish event. The bool value indicates the unload success or not.


Methods

SetResultPostProcessing

C#

public void SetResultPostProcessing(bool enablePersistentTargetInstance)

Sets result post-processing. Overwrites ImageTrackerFrameFilter.EnableMotionFusion . Only effective if modified before the session starts.