![]() |
KudanAR - Android
1.6.0
|
Public Member Functions | |
ARTrackableSet () | |
List< ARImageTrackable > | getTrackables () |
void | loadFromPath (String path) |
void | loadFromAsset (String asset) |
This class represents a set of ARImageTrackable objects, imported from a .KARMarker file.
ARTrackableSet.ARTrackableSet | ( | ) |
Initialises an empty ARTrackableSet.
List<ARImageTrackable> ARTrackableSet.getTrackables | ( | ) |
Returns the list of all ARImageTrackable objects in this set.
void ARTrackableSet.loadFromAsset | ( | String | asset | ) |
Load a .KARMarker file into the ARTrackableSet from a bundled asset.
Example of use:
imageTrackableSet.loadFromAsset("example.KARMarker");
asset | The file relative to the main bundle, including extension. |
void ARTrackableSet.loadFromPath | ( | String | path | ) |
Load a .KARMarker file into the ARTrackableSet from a full file path.
Example of use:
imageTrackableSet.loadFromPath('/mnt/sdcard/images/example.KARMarker");
path | The full path name to the trackable set file. This includes all folders and the file extension. This file should have been generated by the Kudan AR Toolkit and be in the .KARMarker format. |