Class CloudLocalizerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A MonoBehaviour that controls easyar.CloudLocalizer in the scene and provides functional extensions in the Unity environment.
In most cases, MegaTrackerFrameFilter should be used.
public class CloudLocalizerFrameFilter : MegaCloudFrameFilter
- Inheritance
-
CloudLocalizerFrameFilter
- Inherited Members
Fields
RequestTimeout
Timeout for communication with the server, in milliseconds.
public int RequestTimeout
Properties
LandmarkFilter
Mega Landmark filtering used when ServiceType is Landmark. At startup, you need to manually call FilterBySpotId(string, Action<MegaLandmarkFilterResponse>). Tracker will not start tracking until Filter returns Found.
public Optional<MegaLandmarkFilterWrapper> LandmarkFilter { get; }
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 cannot be used. For onsite use, set it to Onsite for best results.
public MegaLocationInputMode LocationInputMode { get; set; }
ProximityLocation
Nearby location results.
public Optional<ProximityLocationResult> ProximityLocation { set; }
RequestMessage
public string RequestMessage { get; set; }
ServiceAccessData
Service access data. Must be set before Session starts. No setting is required when using GlobalConfig.
public ExplicitAddressAccessData ServiceAccessData { get; set; }
ServiceAccessSource
Service access data source type. Must be set before Session starts.
public MegaServiceAccessSourceType ServiceAccessSource { get; set; }
ServiceType
EasyAR Mega service type. Must be set before Session starts.
public MegaApiType ServiceType { get; set; }
SimulatorLocation
Location data used when LocationInputMode == Simulator.
public Optional<LocationResult> SimulatorLocation { get; set; }
enabled
Enables/disables localization while ARSession is running.
public bool enabled { get; set; }
Methods
Resolve(Action<MegaLocalizationResponse>)
Sends a localization request.
public void Resolve(Action<MegaLocalizationResponse> callback)
Parameters
callback
SwitchEndPoint(ExplicitAddressAccessData)
Switches the remote endpoint.
public void SwitchEndPoint(ExplicitAddressAccessData config)
Parameters
config
UpdateToken(string)
Updates the API Token.
public void UpdateToken(string token)
Parameters
token