MaxstARSDK  3.5.0
Public Member Functions | Protected Member Functions | Properties | List of all members
maxstAR.AbstractTrackableBehaviour Class Reference

Parent class of all TrackableBehaviour. Save tracking file's id (uuid), name, path etc. All setting datas are for editor mode and runtime tracking result. More...

Inheritance diagram for maxstAR.AbstractTrackableBehaviour:
maxstAR.AbstractImageTrackableBehaviour maxstAR.AbstractInstantTrackableBehaviour maxstAR.AbstractMarkerTrackableBehaviour maxstAR.AbstractObjectTrackableBehaviour

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

virtual void OnTrackerDataFileChanged (string trackerFileName)
 To notify tracker file changed (Editor mode only) 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

Parent class of all TrackableBehaviour. Save tracking file's id (uuid), name, path etc. All setting datas are for editor mode and runtime tracking result.

Definition at line 28 of file AbstractTrackableBehaviour.cs.

Member Function Documentation

◆ OnTrackerDataFileChanged()

virtual void maxstAR.AbstractTrackableBehaviour.OnTrackerDataFileChanged ( string  trackerFileName)
protectedvirtual

To notify tracker file changed (Editor mode only)

Parameters
trackerFileName

Reimplemented in maxstAR.AbstractImageTrackableBehaviour, maxstAR.AbstractMarkerTrackableBehaviour, and maxstAR.AbstractObjectTrackableBehaviour.

Definition at line 109 of file AbstractTrackableBehaviour.cs.

◆ OnTrackFail()

virtual void maxstAR.AbstractTrackableBehaviour.OnTrackFail ( )
virtual

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

Definition at line 117 of file AbstractTrackableBehaviour.cs.

◆ OnTrackSuccess()

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

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

Definition at line 128 of file AbstractTrackableBehaviour.cs.

Property Documentation

◆ StorageType

StorageType maxstAR.AbstractTrackableBehaviour.StorageType
getset

If file is located in android assets folder or not

Definition at line 52 of file AbstractTrackableBehaviour.cs.

◆ TrackableId

string maxstAR.AbstractTrackableBehaviour.TrackableId
getset

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

Definition at line 86 of file AbstractTrackableBehaviour.cs.

◆ TrackableName

string maxstAR.AbstractTrackableBehaviour.TrackableName
getset

Tracking file name only without extention.

Definition at line 95 of file AbstractTrackableBehaviour.cs.

◆ TrackerDataFileName

string maxstAR.AbstractTrackableBehaviour.TrackerDataFileName
getset

Tracking file name

Definition at line 73 of file AbstractTrackableBehaviour.cs.

◆ TrackerDataFileObject

UnityEngine.Object maxstAR.AbstractTrackableBehaviour.TrackerDataFileObject
getset

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

Definition at line 61 of file AbstractTrackableBehaviour.cs.


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