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 usually obtained from the device and input to Mega, typically handled internally by MegaTrackerFrameFilter.
  • Simulator: Input mode required for remote debugging or running on a computer, where GNSS data needs to be simulated as on-site data and input to Mega through the corresponding interface. Optional.
  • FramePlayer: Input mode when using FramePlayer. This mode is read-only.
Remote debugging or running on a computer must be set to Simulator mode, otherwise it will not work. On-site usage should be set to Onsite 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

The test function is available in Unity play mode.

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

alt text

You can simulate GNSS data for testing.

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

alt text

You can simulate GNSS data for testing.

You can simulate MegaLandmarkFilterWrapper.FilterBySpotId(string, Action<MegaLandmarkFilterResponse>) and MegaLandmarkFilterWrapper.FilterByLocation(Action<MegaLandmarkFilterResponse>) execution.