Table of Contents

Class MegaGoTrackerFrameFilter

Namespace
easyar
Assembly
EasyAR.Sense.dll

Control easyar.MegaGoTracker in the scene, which is a MonoBehaviour, and provide function extensions in the Unity environment.

public class MegaGoTrackerFrameFilter : FrameFilter
Inheritance
MegaGoTrackerFrameFilter

Properties

CameraPositionOverride

The coverage value of the camera position relative to the map block. After setting, the tracker will output the coverage value instead of using the corresponding coordinates in the input frame data. It can be used to improve the accuracy of the output pose when the map information is known and the sensors are limited.

public (Optional<float> x, Optional<float> y, Optional<float> z) CameraPositionOverride { get; set; }

EnableStatelessLocalization

Whether to enable stateless location. When enabled, the last location result is not used during location. Default is false.

Affects tracking performance. Do not use unless consulting with EasyAR and fully understanding the impact.

public bool EnableStatelessLocalization { get; set; }

Error

Error information when Status is Error.

public Optional<MegaGoTrackerError> Error { get; }

MinInputFrameLevel

Minimum allowed MegaInputFrameLevel for input frames. If the frame source provides only lower-dimensional CameraTransformType data, session startup fails. Must be set before session start.

public MegaInputFrameLevel MinInputFrameLevel { get; set; }

Status

Current work status.

public MegaGoTrackerStatus Status { get; }

Target

public Optional<MegaGoBlockController> Target { get; }

enabled

ARSession starts/stops tracking at runtime. After the session starts, tracking will only begin when MonoBehaviour.enabled is true.

public bool enabled { get; set; }

Events

LocalizationRespond

Positioning event. This event is typically used for debugging.

public event Action<MegaGoTrackerLocalizationResponse> LocalizationRespond

TargetLoad

The event when the block finishes loading.

public event Action<MegaGoBlockController, MegaGoTargetLoadStatus> TargetLoad

TargetUnload

The event when the block unloading is completed.

public event Action<MegaGoBlockController> TargetUnload