SparseSpatialMapTrackerFrameFilter Class¶
Description¶
MonoBehaviour which controls SparseSpatialMap in the scene, providing map localizing and tracking functions of SparseSpatialMap .
Fields¶
RequestTimeout¶
- C#
public int RequestTimeout
Timeout in milliseconds when communicating with server. Modify at any time and takes effect immediately.
LocalizationMode¶
- C#
public LocalizationMode LocalizationMode
Localization mode. Only effective if modified before the session starts or OnEnable.
Will be forced to LocalizationMode.KeepUpdate if SparseSpatialMapTrackerFrameFilter.EnableStabilization is true.
EnableStabilization¶
- C#
public bool EnableStabilization
Result pose setting. Only effective if modified before the session starts or OnEnable.
EnableIndirectTracking¶
- C#
public bool EnableIndirectTracking
Enable indirect tracking which keeps tracking through motion tracking ability from frame source while direct stopped. 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< SparseSpatialMapController > Targets { get; }
SparseSpatialMapController that has been loaded.
ServiceAccessSource¶
- C#
public SparseSpatialMapWorkerFrameFilter.ServiceAccessSourceType ServiceAccessSource { get; set; }
Service access source type. Only effective if modified before the session starts.
ServiceAccessData¶
- C#
public FixedAddressAPIKeyAccessData ServiceAccessData { get; set; }
Service access data. Only effective if modified before the session starts. Do not set if SparseSpatialMapWorkerFrameFilter.ServiceAccessSourceType.GlobalConfig is in use.
Events¶
TargetLoad¶
- C#
public event Action< SparseSpatialMapController , bool, string> TargetLoad
Map load finish event. The bool value indicates the load success or not. The string value is the error message when fail.
TargetUnload¶
- C#
public event Action< SparseSpatialMapController , bool, string> TargetUnload
Map unload finish event. The bool value indicates the unload success or not. The string value is the error message when fail.