Class ObjectTrackerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the easyar.ObjectTracker in the scene, providing feature extensions in the Unity environment.
public class ObjectTrackerFrameFilter : FrameFilter
- Inheritance
-
ObjectTrackerFrameFilter
Properties
EnableMotionFusion
Enable motion tracking. Overrides SetResultPostProcessing(bool).
public bool EnableMotionFusion { get; set; }
Property Value
SimultaneousNum
Maximum number of targets trackable by the tracker. Modifiable at any time, effective immediately.
public int SimultaneousNum { get; set; }
Property Value
Targets
Loaded ObjectTargetController.
public List<ObjectTargetController> Targets { get; }
Property Value
Methods
SetResultPostProcessing(bool)
Set result post-processing. Overrides EnableMotionFusion. Effective only if modified before session starts.
public void SetResultPostProcessing(bool enablePersistentTargetInstance)
Parameters
enablePersistentTargetInstance
Events
TargetLoad
Target loaded event. The bool value indicates whether loading succeeded.
public event Action<ObjectTargetController, bool> TargetLoad
Event Type
TargetUnload
Target unloaded event. The bool value indicates whether unloading succeeded.
public event Action<ObjectTargetController, bool> TargetUnload