Table Of Contents

Previous topic

2.0

Next topic

ARCamera Prefab

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<ARCameraBaseBehaviour> ARCameraBehaviours
List<ImageTrackerBaseBehaviour> ImageTrackerBehaviours
List<ObjectTrackerBaseBehaviour> ObjectTrackerBehaviours
RecorderBaseBehaviour RecorderBehaviour

Public Fields

static ARBuilder Instance

Public Functions

bool InitializeEasyAR(string key)
bool EasyBuild()
void Start()

Private Functions

ARBuilder()
static ARBuilder()

Private Fields

static readonly ARBuilder instance

List<CameraDeviceBaseBehaviour> CameraDeviceBehaviours

CameraDeviceBaseBehaviours in the scene.

List<ARCameraBaseBehaviour> ARCameraBehaviours

ARCameraBehaviours in the scene.

List<ImageTrackerBaseBehaviour> ImageTrackerBehaviours

ImageTrackerBaseBehaviours in the scene.

List<ObjectTrackerBaseBehaviour> ObjectTrackerBehaviours

ObjectTrackerBaseBehaviours in the scene.

RecorderBaseBehaviour RecorderBehaviour

RecorderBaseBehaviour 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.