Class SparseSpatialMapTrackerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the easyar.SparseSpatialMap of MonoBehaviour in the scene, providing localization and tracking functionality for easyar.SparseSpatialMap.
public class SparseSpatialMapTrackerFrameFilter : SparseSpatialMapWorkerFrameFilter
- Inheritance
-
SparseSpatialMapTrackerFrameFilter
- Inherited Members
Fields
EnableIndirectTracking
Enable non-direct tracking (continues tracking after direct tracking stops, using the motion tracking capability of the frame source). Only effective if modified before session start.
public bool EnableIndirectTracking
EnableStabilization
Result pose setting. Only effective if modified before session start or before OnEnable.
public bool EnableStabilization
LocalizationMode
Localization mode. Only effective if modified before session start 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 modified at any time and takes effect immediately.
public int RequestTimeout
Properties
Targets
Loaded SparseSpatialMapController.
public List<SparseSpatialMapController> Targets { get; }
enabled
Start/stop tracking during ARSession runtime. Tracking will only start after the session is started and MonoBehaviour.enabled is true.
public bool enabled { get; set; }
Events
TargetLoad
Event for map loading completion. Bool value indicates whether the loading was successful. String value represents error information when an error occurs.
public event Action<SparseSpatialMapController, bool, string> TargetLoad
TargetUnload
Event for map unloading completion. Bool value indicates whether the unloading was successful. String value represents error information when an error occurs.
public event Action<SparseSpatialMapController, bool, string> TargetUnload