C++ Java Unity
Unity Reference
VuforiaRuntime Class Reference

Public Types

enum  InitState {
  NOT_INITIALIZED,
  INITIALIZING,
  INITIALIZED
}
 

Public Member Functions

void Deinit ()
 Deinitialize Vuforia when application is quit. More...
 
void InitPlatform (IUnityPlayer player)
 Initialize correct platform-specific player More...
 
void InitVuforia ()
 Initialize Vuforia. This has to be called after InitPlatform More...
 
void RegisterVuforiaInitErrorCallback (Action< VuforiaUnity.InitError > callback)
 Register for a callback that is invoked if Vuforia initialization fails. More than one callback can be registered. More...
 
void UnloadVuforia ()
 When using UnityEngine.Application.Unload() always call UnloadVuforia which will take care of the proper deinitialization More...
 
void UnregisterVuforiaInitErrorCallback (Action< VuforiaUnity.InitError > callback)
 Unregister a previously registered callback. More...
 

Properties

InitState InitializationState [get]
 Returns whether Vuforia has been initialized More...
 
static VuforiaRuntime Instance [get]
 

Member Enumeration Documentation

enum InitState
strong
Enumerator
NOT_INITIALIZED 
INITIALIZING 
INITIALIZED 

Member Function Documentation

void Deinit ( )

Deinitialize Vuforia when application is quit.

void InitPlatform ( IUnityPlayer  player)

Initialize correct platform-specific player

Parameters
playerThis needs to be the correct player for the current platform
void InitVuforia ( )

Initialize Vuforia. This has to be called after InitPlatform

void RegisterVuforiaInitErrorCallback ( Action< VuforiaUnity.InitError callback)

Register for a callback that is invoked if Vuforia initialization fails. More than one callback can be registered.

void UnloadVuforia ( )

When using UnityEngine.Application.Unload() always call UnloadVuforia which will take care of the proper deinitialization

void UnregisterVuforiaInitErrorCallback ( Action< VuforiaUnity.InitError callback)

Unregister a previously registered callback.

Property Documentation

InitState InitializationState
get

Returns whether Vuforia has been initialized

VuforiaRuntime Instance
staticget