MaxstARSDK
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
maxstAR.AbstractObjectTrackableBehaviour Class Reference

Serve 3dmap file recognition and tracking More...

Inheritance diagram for maxstAR.AbstractObjectTrackableBehaviour:
Inheritance graph
Collaboration diagram for maxstAR.AbstractObjectTrackableBehaviour:
Collaboration graph

Public Member Functions

virtual void OnTrackFail ()
 Common interface to notify this target lost tracking. Child class can override this method to receive tracking lost event More...
 
virtual void OnTrackSuccess (string id, string name, Matrix4x4 poseMatrix)
 Common interface to notify this target tracking success. Child class can override this method to receive tracking success event More...
 

Protected Member Functions

override void OnTrackerDataFileChanged (string trackerFileName)
 Notify 3dmap file is changed. More...
 

Properties

StorageType StorageType [get, set]
 If file is located in android assets folder or not More...
 
UnityEngine.Object TrackerDataFileObject [get, set]
 Save tracking file object name in StreamingAssets folder (For editor mode) More...
 
string TrackerDataFileName [get, set]
 Tracking file name More...
 
string TrackableId [get, set]
 Tracking file uuid. This value is addressed in tracking file. More...
 
string TrackableName [get, set]
 Tracking file name only without extention. More...
 

Detailed Description

Serve 3dmap file recognition and tracking

Member Function Documentation

◆ OnTrackerDataFileChanged()

override void maxstAR.AbstractObjectTrackableBehaviour.OnTrackerDataFileChanged ( string  trackerFileName)
protectedvirtual

Notify 3dmap file is changed.

Parameters
trackerFileName3dmap file name

Reimplemented from maxstAR.AbstractTrackableBehaviour.

◆ OnTrackFail()

virtual void maxstAR.AbstractTrackableBehaviour.OnTrackFail ( )
virtualinherited

Common interface to notify this target lost tracking. Child class can override this method to receive tracking lost event

◆ OnTrackSuccess()

virtual void maxstAR.AbstractTrackableBehaviour.OnTrackSuccess ( string  id,
string  name,
Matrix4x4  poseMatrix 
)
virtualinherited

Common interface to notify this target tracking success. Child class can override this method to receive tracking success event

Parameters
idtarget's id (uuid)
nametarget's name (map file name without extension)
poseMatrixtracked pose matrix

Property Documentation

◆ StorageType

StorageType maxstAR.AbstractTrackableBehaviour.StorageType
getsetinherited

If file is located in android assets folder or not

◆ TrackableId

string maxstAR.AbstractTrackableBehaviour.TrackableId
getsetinherited

Tracking file uuid. This value is addressed in tracking file.

◆ TrackableName

string maxstAR.AbstractTrackableBehaviour.TrackableName
getsetinherited

Tracking file name only without extention.

◆ TrackerDataFileName

string maxstAR.AbstractTrackableBehaviour.TrackerDataFileName
getsetinherited

Tracking file name

◆ TrackerDataFileObject

UnityEngine.Object maxstAR.AbstractTrackableBehaviour.TrackerDataFileObject
getsetinherited

Save tracking file object name in StreamingAssets folder (For editor mode)


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