Class CloudLocalizerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls theeasyar.CloudLocalizer'sMonoBehaviour in the scene, provides functional extensions in the Unity environment.
[RequireComponent(typeof(BlockHolder))]
public class CloudLocalizerFrameFilter : FrameFilter
- Inheritance
-
CloudLocalizerFrameFilter
Fields
RequestTimeout
Timeout (milliseconds) for communication with the server.
public int RequestTimeout
Field Value
Properties
BlockHolder
Component holding Blocks, holds and manages Blocks in the scene.
public BlockHolder BlockHolder { get; }
Property Value
LandmarkFilter
Mega Landmark filtering feature whenServiceType isLandmark. Initially, you need to manually callFilterBySpotId(string, Action<MegaLandmarkFilterResponse>). The Tracker will not start tracking until the Filter returns Found.
public Optional<MegaLandmarkFilterWrapper> LandmarkFilter { get; }
Property Value
LocationInputMode
Location input mode. Must be set before Session starts. Must be set toSimulator for remote debugging or running on a computer, otherwise it will be unusable. Set toOnsite for on-site use to achieve optimal results.
public MegaLocationInputMode LocationInputMode { get; set; }
Property Value
ProximityLocation
Nearby location results.
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 usingGlobalConfig.
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, the location data used when this condition is met.
public Optional<Location> SimulatorLocation { get; set; }
Property Value
Methods
Resolve(Action<MegaLocalizationResponse>)
Sends a location request.
public void Resolve(Action<MegaLocalizationResponse> callback)
Parameters
callback
SwitchEndPoint(ExplicitAddressAccessData, BlockRootController)
Switches the remote endpoint.
public void SwitchEndPoint(ExplicitAddressAccessData config, BlockRootController root)
Parameters
configroot
UpdateToken(string)
Updates the API Token.
public void UpdateToken(string token)
Parameters
token