CloudSpatialMapLocalizerFrameFilter Class¶
Description¶
MonoBehaviour which controls CloudLocalizer in the scene, providing a few extensions in the Unity environment. There is no need to use CloudLocalizer directly.
Classes¶
public class CloudSpatialMapLocalizerFrameFilter.CloudLocalizerServiceConfig |
Service config for CloudLocalizer . |
public class CloudSpatialMapLocalizerFrameFilter.Input |
Input data for CloudSpatialMapLocalizerFrameFilter.Resolve . |
MonoBehaviour Messages¶
protected virtual void Awake() |
protected virtual void OnEnable() |
protected virtual void OnDisable() |
protected virtual void OnDestroy() |
Fields¶
UseGlobalServiceConfig¶
- C#
public bool UseGlobalServiceConfig
Use global service config or not. The global service config can be changed on the inspector after click Unity menu EasyAR -> Sense -> Configuration.
ServiceConfig¶
- C#
public CloudSpatialMapLocalizerFrameFilter.CloudLocalizerServiceConfig ServiceConfig
Service config when CloudSpatialMapLocalizerFrameFilter.UseGlobalServiceConfig == false, only valid for this object.
Properties¶
MapHolder¶
- C#
public SpatialMapHolder MapHolder { get; }
The map holder which holds and manages maps in the scene.
Methods¶
Resolve¶
- C#
public void Resolve(Optional< CloudSpatialMapLocalizerFrameFilter.Input > input, Action< InputFrame > start, Action< CloudLocalizeStatus , string> finish)
Send localization request.