Table of Contents

Class CloudLocalizerFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

Control in the scene and provide functional extensions in the Unity environment.

[RequireComponent(typeof(BlockHolder))]
public class CloudLocalizerFrameFilter : FrameFilter
Inheritance
CloudLocalizerFrameFilter

Fields

RequestTimeout

Timeout for communication with the server (milliseconds).

public int RequestTimeout

Field Value

Properties

BlockHolder

Component that holds Block, holds and manages Block in the scene.

public BlockHolder BlockHolder { get; }

Property Value

LandmarkFilter

ServiceType Mega Landmark filtering function when Landmark. At the beginning, you need to call FilterBySpotId(string, Action<MegaLandmarkFilterResponse>) manually. Tracker will not start tracking until Filter returns Found.

public Optional<MegaLandmarkFilterWrapper> LandmarkFilter { get; }

Property Value

LocationInputMode

Location input mode. Must be set before Session starts. For remote debugging or running on a computer, it must be set to Simulator, otherwise it will not work. For on-site use, set to Onsite for the best results.

public MegaLocationInputMode LocationInputMode { get; set; }

Property Value

ProximityLocation

Proximity location result.

public Optional<ProximityLocationResult> ProximityLocation { set; }

Property Value

RequestMessage

public string RequestMessage { get; set; }

Property Value

ServiceAccessData

Service access data. Must be set before Session starts. No need to set when using GlobalConfig.

public ExplicitAddressAccessData ServiceAccessData { get; set; }

Property Value

ServiceAccessSource

Service access data source type. Must be set before Session starts.

public MegaServiceAccessSourceType ServiceAccessSource { get; set; }

Property Value

ServiceType

EasyAR Mega service type. Must be set before Session starts.

public MegaApiType ServiceType { get; set; }

Property Value

SimulatorLocation

LocationInputMode == Simulator location data used when.

public Optional<Location> SimulatorLocation { get; set; }

Property Value

Methods

Resolve(Action<MegaLocalizationResponse>)

Send location request.

public void Resolve(Action<MegaLocalizationResponse> callback)

Parameters

callback

SwitchEndPoint(ExplicitAddressAccessData, BlockRootController)

Switch remote endpoint.

public void SwitchEndPoint(ExplicitAddressAccessData config, BlockRootController root)

Parameters

config
root

UpdateToken(string)

Update API Token.

public void UpdateToken(string token)

Parameters

token