ARBuilder Class

Description

ARBuilder is a simple sample for the buildup process of EasyAR.

ARBuilder is provided with source code, it constructs a basic EasyAR scene as a Singleton. You can use it directly in you apps or change the build process and startup time in advance.

Public Fields

List<CameraDeviceBaseBehaviour> CameraDeviceBehaviours
List<AugmenterBaseBehaviour> AugmenterBehaviours
List<TrackerBaseBehaviour> TrackerBehaviours (until 1.2.1)
List<ImageTrackerBaseBehaviour> TrackerBehaviours (since 1.3.0)

Public Fields

static ARBuilder Instance

Private Functions

ARBuilder()
static ARBuilder()

Private Fields

static readonly ARBuilder instance

List<CameraDeviceBaseBehaviour> CameraDeviceBehaviours

CameraDeviceBaseBehaviours in the scene.

List<AugmenterBaseBehaviour> AugmenterBehaviours

AugmenterBaseBehaviours in the scene.

List<TrackerBaseBehaviour> TrackerBehaviours (until 1.2.1)

List<ImageTrackerBaseBehaviour> TrackerBehaviours (since 1.3.0)

TrackerBaseBehaviours in the scene.

static ARBuilder Instance

The Singleton accessor.

bool InitializeEasyAR(string key)

Initialize EasyAR using a key.

bool EasyBuild()

Build a simple EasyAR scene.

void Start()

If you have chosen not to enable CameraDeviceBaseBehaviour.CaptureWhenStart, you can manually call this method to Start the whole AR scene.

static readonly ARBuilder instance

A simple implement of Singleton.

static ARBuilder()

Constructor.

ARBuilder()

Constructor.