Table of Contents

Class MegaBlockController

Namespace
easyar
Assembly
EasyAR.Sense.dll

The MonoBehaviour of the block tracked by MegaCloudFrameFilter in the scene.

Only when the service contains the data corresponding to the block ID, the MegaBlockController that is correctly loaded into MegaCloudFrameFilter can be used normally in ARSession, and the content can be displayed correctly.

public class MegaBlockController : TargetController
Inheritance
MegaBlockController
Inherited Members

Properties

Info

Block information, only available after MonoBehaviour.Start.

public MegaBlockController.BlockInfo Info { get; }

Source

Create the data source for the block. Modifying it before MonoBehaviour.Start is effective.

public MegaBlockController.SourceData Source { get; set; }

Tracker

Load the MegaCloudFrameFilter of the target. If set to null, the block will be unloaded from the previously set MegaCloudFrameFilter. It can be modified at any time, and the loading will only occur when the session is running.

The loading is a virtual process and will not fail.

Only when the service contains data corresponding to the block ID, can the MegaBlockController that is correctly loaded into the MegaCloudFrameFilter be used normally in the ARSession and the content be displayed correctly.

public MegaCloudFrameFilter Tracker { get; set; }