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.



MonoBehaviour Messages

protected virtual void Awake()

protected virtual void OnEnable()

protected virtual void OnDisable()

protected virtual void OnDestroy()


Fields

ResolveTimeout

C#

public int ResolveTimeout

Timeout in milliseconds when communicating with server.

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.