Class SparseSpatialMapTrackerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A MonoBehaviour that controls easyar.SparseSpatialMap in the scene and provides localization tracking for easyar.SparseSpatialMap.
public class SparseSpatialMapTrackerFrameFilter : SparseSpatialMapWorkerFrameFilter
- Inheritance
-
SparseSpatialMapTrackerFrameFilter
- Inherited Members
Fields
EnableIndirectTracking
Enables non-direct tracking, continuing tracking through the motion tracking capability of the frame source after direct tracking stops. Changes take effect only before session startup.
public bool EnableIndirectTracking
EnableStabilization
Result pose setting. Changes take effect only before session startup or before OnEnable.
public bool EnableStabilization
LocalizationMode
Localization mode. Changes take effect only before session startup or before OnEnable.
If EnableStabilization is true, it will be forced to KeepUpdate.
public LocalizationMode LocalizationMode
RequestTimeout
Timeout for communication with the server, in milliseconds. Can be changed at any time and takes effect immediately.
public int RequestTimeout
Properties
Targets
Loaded SparseSpatialMapController.
public List<SparseSpatialMapController> 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; }
Events
TargetLoad
Event when Map loading is completed. The bool value indicates whether loading succeeded. The string value indicates the error message when an error occurs.
public event Action<SparseSpatialMapController, bool, string> TargetLoad
TargetUnload
Event when Map unloading is completed. The bool value indicates whether unloading succeeded. The string value indicates the error message when an error occurs.
public event Action<SparseSpatialMapController, bool, string> TargetUnload