Class CloudLocalizerFrameFilter
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Controls the easyar.CloudLocalizer in the scene, providing functional extensions in the Unity environment.
[RequireComponent(typeof(BlockHolder))]
public class CloudLocalizerFrameFilter : FrameFilter
- Inheritance
-
CloudLocalizerFrameFilter
Fields
RequestTimeout
Timeout duration for communication with the server (in milliseconds).
public int RequestTimeout
Properties
BlockHolder
Component that holds Blocks, holding and managing Blocks in the scene.
public BlockHolder BlockHolder { get; }
LandmarkFilter
Mega Landmark filtering feature when ServiceType is Landmark. At the beginning, you need to manually call FilterBySpotId(string, Action<MegaLandmarkFilterResponse>). The Tracker will not start tracking until the Filter returns Found.
public Optional<MegaLandmarkFilterWrapper> LandmarkFilter { get; }
LocationInputMode
Location input mode. Must be set before session start. Set to Simulator for remote debugging or running on a computer; otherwise, it will not work. Set to Onsite for onsite use to achieve optimal results.
public MegaLocationInputMode LocationInputMode { get; set; }
ProximityLocation
Proximity location results.
public Optional<ProximityLocationResult> ProximityLocation { set; }
RequestMessage
public string RequestMessage { get; set; }
ServiceAccessData
Service access data. Must be set before session start. No setup needed when using GlobalConfig.
public ExplicitAddressAccessData ServiceAccessData { get; set; }
ServiceAccessSource
Service access data-source type. Must be set before session start.
public MegaServiceAccessSourceType ServiceAccessSource { get; set; }
ServiceType
EasyAR Mega service-type. Must be set before session start.
public MegaApiType ServiceType { get; set; }
SimulatorLocation
Location data used when LocationInputMode == Simulator.
public Optional<Location> SimulatorLocation { get; set; }
enabled
Enable/disable location during ARSession runtime.
public bool enabled { get; set; }
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
configroot
UpdateToken(string)
Update API Token.
public void UpdateToken(string token)
Parameters
token