MegaGoBlockController Component Reference
Note
This component is only available in versions >= 4003.1
Explore the properties in the MegaGoBlockController component window.

Screenshot of the component under default conditions.

Screenshot when the com.easyar.mega package is not imported and the editor tool is unavailable.
The MegaGoBlockController component window consists of two parts: component configuration and editor tool.
Component Configuration
| Property | Description |
|---|---|
| Source | The data source for creating the block. |
| Path Type | File path type. Options:
|
| Path | File path. |
| Tracker | The MegaGoTrackerFrameFilter for loading the target. If set to null, the block will be unloaded from the previously set MegaGoTrackerFrameFilter. It can be modified at any time, and the loading will only occur when the session is running. |
Editor Tool
Create
Note
The editor tool can only be used after importing the com.easyar.mega package.

| Name | Description |
|---|---|
| Create Editor Tool | Create the editor tool. |
After clicking Create Editor Tool, an editor tool node will be created, and you will enter the service connection interface.
Connect to Service

| Name | Description |
|---|---|
| X | Delete the editor tool. |
| EMG File | File source. Options:
|
| Path | Read-only. The final EMG file path to be used under the current configuration. If From Source is selected for EMG File, the absolute path corresponding to Source.Path will be displayed; if File Only In Editor is selected, the file path loaded by the Load button will be displayed. |
| Load | Load the EMG file. After clicking, the EMG file will be loaded according to the current configuration. After successful loading, the Block information and the service App ID will be displayed, which will not be used for other operations. |
| Block | Block information. |
| ID | Read-only. Automatically filled after loading the file. Block ID. |
| Name | Read-only. Automatically filled after loading the file. Block name. |
| Service | Service information. |
| App ID | Read-only. Automatically filled after loading the file. Service App ID. |
| API Key | API Key. |
| API Secret | API Secret. |
| Connect | Connect to the service. |
After clicking Load, the block information and the service App ID will be loaded from the file path specified by Path.
After clicking Connect, you will enter the Mega block editor tool interface.
Important
Before connecting, you need to check the permissions of the API Key and ensure that the used API Key has the permission to access the Mega Go service.

When the permissions are insufficient, you will see an error message indicating that the service connection verification failed.
