![]() |
KudanAR - Android
1.6.0
|
Inherits Fragment.
Public Member Functions | |
| void | onCreate (Bundle savedInstanceState) |
| void | onAttach (Activity activity) |
| void | onResume () |
| void | onPause () |
| void | onDestroy () |
| ARView | getARView () |
A class representing an AR Fragment.
| ARView ARFragment.getARView | ( | ) |
Gets the OpenGL ARView associated with the ARFragment.
Example of use:
// fragment is a previously created reference to the ARFragment. ARView glView = fragment.getARView();
| void ARFragment.onAttach | ( | Activity | activity | ) |
Initialises ARRenderer with parent activity and adds ARView to view group.
| activity |
| void ARFragment.onDestroy | ( | ) |
Clears ARFragment.
| void ARFragment.onPause | ( | ) |
Method called when the system pauses. The Gryo Manager and ARView will stop running at this time.
| void ARFragment.onResume | ( | ) |
Method called when the activity will start interacting with the user. The Gyro Manager and ARView will start running at this time.