KudanAR - Android  1.6.0
ARTrackableSet Class Reference

Public Member Functions

 ARTrackableSet ()
 
List< ARImageTrackablegetTrackables ()
 
void loadFromPath (String path)
 
void loadFromAsset (String asset)
 

Detailed Description

This class represents a set of ARImageTrackable objects, imported from a .KARMarker file.

Constructor & Destructor Documentation

◆ ARTrackableSet()

ARTrackableSet.ARTrackableSet ( )

Initialises an empty ARTrackableSet.

Member Function Documentation

◆ getTrackables()

List<ARImageTrackable> ARTrackableSet.getTrackables ( )

Returns the list of all ARImageTrackable objects in this set.

Returns
The list of ARImageTrackable objects in this set.

◆ loadFromAsset()

void ARTrackableSet.loadFromAsset ( String  asset)

Load a .KARMarker file into the ARTrackableSet from a bundled asset.

Example of use:

imageTrackableSet.loadFromAsset("example.KARMarker");
Parameters
assetThe file relative to the main bundle, including extension.

◆ loadFromPath()

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");
Parameters
pathThe 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.

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