Table of Contents

MegaTrackerFrameFilter component reference

Switch to API

Explore the properties in the MegaTrackerFrameFilter component window to customize camera parameters.

alt text

Default component screenshot.

alt text

Screenshot when the com.easyar.mega package is not imported and the component is unavailable.

The MegaTrackerFrameFilter component window consists of two parts: component configuration and test area.

Component configuration

Property Description
Service Service access information.
        Type EasyAR Mega service type. Options:
  • Block: Mega Block.
  • Landmark: Mega Landmark.
        Access Source Service access data source type. Options:
                App ID Displayed when Access Source is API Key or Token.
Service AppID.
                Server Address Displayed when Access Source is API Key or Token.
Service address.
                API Key Displayed when Access Source is API Key.
API Key.
                API Secret Displayed when Access Source is API Key.
API Secret.
                Token Displayed when Access Source is Token.
Token.
Request Time Parameters Request time parameters.
        Timeout Timeout for communication with the server (milliseconds).
        Request Interval Desired request interval time (milliseconds). Larger values result in greater overall error.
Location Input Mode Location input mode. Options:
  • Onsite: Input mode for on-site usage. GNSS data is typically obtained from the device and input to Mega, usually handled internally by MegaTrackerFrameFilter.
  • Simulator: Input mode required for remote debugging or running on a computer. GNSS data needs to be simulated as on-site data and input to Mega through corresponding interfaces. Optional.
  • FramePlayer: Input mode when using FramePlayer. This mode is read-only.
Must be set to Simulator mode for remote debugging or running on a computer; otherwise, it will not work. Set to Onsite for on-site usage for optimal results.
Min Input Frame Level Minimum allowed MegaInputFrameLevel for input frames. If the frame source can only provide data with a lower-dimensional CameraTransformType, the session will fail to start. Options:
  • ZeroDof: 0DoF.
  • ThreeDof: 3DoF.
  • FiveDof: 5DoF.
  • SixDof: 6DoF.

Test area

Test functions are available in Unity play mode.

When the service type is Block, the test area displays Block test functions:

alt text

Simulate GNSS data for testing.

When the service type is Landmark, the test area displays Landmark test functions:

alt text

Simulate GNSS data for testing.

Simulate execution of MegaLandmarkFilterWrapper.FilterBySpotId(string, Action<MegaLandmarkFilterResponse>) and MegaLandmarkFilterWrapper.FilterByLocation(Action<MegaLandmarkFilterResponse>).