KudanAR - Android
ARFragment Class Reference
+ Inheritance diagram for ARFragment:
+ Collaboration diagram for ARFragment:

Public Member Functions

void onCreate (Bundle savedInstanceState)
 
void onAttach (Activity activity)
 
void onResume ()
 
void onPause ()
 
void onDestroy ()
 
ARView getARView ()
 

Detailed Description

A class representing an AR Fragment.

Member Function Documentation

ARView getARView ( )
inline

Gets the OpenGL ARView associated with the ARFragment.

Example of use:

// fragment is a previously created reference to the ARFragment.
ARView glView = fragment.getARView();
Returns
The OpenGL view:
void onAttach ( Activity  activity)
inline

Initialises ARRenderer with parent activity and adds ARView to view group.

Parameters
activity
void onDestroy ( )
inline

Clears ARFragment.

void onPause ( )
inline

Method called when the system pauses. The Gryo Manager and ARView will stop running at this time.

void onResume ( )
inline

Method called when the activity will start interacting with the user. The Gyro Manager and ARView will start running at this time.


The documentation for this class was generated from the following file: