MegaLandmarkTrackerFrameFilter Class¶
Description¶
MonoBehaviour which controls MegaLandmarkTracker in the scene, providing a few extensions in the Unity environment.
MonoBehaviour Messages¶
protected virtual void Awake() |
protected virtual void OnEnable() |
protected virtual void OnDisable() |
protected virtual void OnDestroy() |
Fields¶
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 APIKeyAccessData ServiceConfig
Service config when MegaLandmarkTrackerFrameFilter.UseGlobalServiceConfig == false, only valid for this object.
Properties¶
SimulatorLocation¶
- C#
public Scene.Location SimulatorLocation { get; set; }
Location data to be used when MegaLandmarkTrackerFrameFilter.LocationInputMode == MegaLocationInputMode.Simulator .
BlockHolder¶
- C#
public Scene.BlockHolder BlockHolder { get; }
The block holder which holds and manages blocks in the scene.
RequestTimeParameters¶
- C#
public MegaRequestTimeParameters RequestTimeParameters { get; set; }
Request time parameters.
ResultPoseType¶
- C#
public MegaResultPoseTypeParameters ResultPoseType { get; set; }
Result pose parameters.
ProximityLocation¶
- C#
public Optional< ProximityLocationResult > ProximityLocation { set; }
Proximity location result.
LocationInputMode¶
- C#
public MegaLocationInputMode LocationInputMode { get; set; }
Location input mode. Set before session start. Must set to MegaLocationInputMode.Simulator when debug remotely or running on PC otherwize Mega will fail to work. Set to MegaLocationInputMode.Onsite when running on site to reach the best performance.
Events¶
LocalizationRespond¶
- C#
public event Action< MegaLandmarkLocalizationResponse > LocalizationRespond
CloudLocalization service callback event. This event is usually used for debug, objects transform and status in the scene does not change with event data in the same time the event is triggered.
FilterRespond¶
- C#
public event Action< MegaLandmarkFilterResponse > FilterRespond
CloudLocalization service filter callback event. This event is usually used for debug, objects transform and status in the scene does not change with event data in the same time the event is triggered.
Methods¶
ResetTracker¶
- C#
public void ResetTracker()
Reset tracker.