34 private UnityEngine.Object trackerDataFileObject = null;
37 private string trackerDataFileName = null;
40 private string trackableId = null;
43 private string trackableName = null;
53 get {
return storageType; }
54 set { storageType = value; }
62 get {
return trackerDataFileObject; }
65 trackerDataFileObject = value;
74 get {
return trackerDataFileName; }
77 trackerDataFileName = value;
87 get {
return trackableId; }
88 set { trackableId = value; }
96 get {
return trackableName; }
97 set { trackableName = value; }
UnityEngine.Object TrackerDataFileObject
Save tracking file object name in StreamingAssets folder (For editor mode)
string TrackableName
Tracking file name only without extention.
virtual void OnTrackerDataFileChanged(string trackerFileName)
To notify tracker file changed (Editor mode only)
File is located in android assets folder
string TrackableId
Tracking file uuid. This value is addressed in tracking file.
virtual void OnTrackSuccess(string id, string name, Matrix4x4 poseMatrix)
Common interface to notify this target tracking success. Child class can override this method to rece...
Parent class of all TrackableBehaviour. Save tracking file's id (uuid), name, path etc...
virtual void OnTrackFail()
Common interface to notify this target lost tracking. Child class can override this method to receive...
StorageType
To check the special case of android file is in assets folder
string TrackerDataFileName
Tracking file name