Class MegaBlockController
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
A MonoBehaviour for a block tracked by MegaCloudFrameFilter in the scene.
Only when the service contains data for the corresponding block ID, and the MegaBlockController is correct and loaded into MegaCloudFrameFilter, can it be used normally in ARSession and display content correctly.
public class MegaBlockController : TargetController
- Inheritance
-
MegaBlockController
- Inherited Members
Properties
Info
Block information, available only after MonoBehaviour.Start.
public MegaBlockController.BlockInfo Info { get; }
Source
The data source used to create the block. Changes take effect only before MonoBehaviour.Start.
public MegaBlockController.SourceData Source { get; set; }
Tracker
The MegaCloudFrameFilter that loads the target. If set to null, the block will be unloaded from the previously set MegaCloudFrameFilter. It can be changed at any time, and loading occurs only while the session is running.
Loading is a virtual process and will not fail.
Only when the service contains data for the corresponding block ID, and the MegaBlockController is correct and loaded into MegaCloudFrameFilter, can it be used normally in ARSession and display content correctly.
public MegaCloudFrameFilter Tracker { get; set; }