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

Handle tracking file definition in editor and runtime target image visibility More...

Inheritance diagram for maxstAR.AbstractImageTrackableBehaviour:
maxstAR.AbstractTrackableBehaviour

Protected Member Functions

override void OnTrackerDataFileChanged (string trackerFileName)
 Notify tracking file changed and change target image texture and scale, etc. More...
 

Properties

float TargetWidth [get]
 Image target real width More...
 
float TargetHeight [get]
 Image target real height More...
 
- Properties inherited from maxstAR.AbstractTrackableBehaviour
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...
 

Additional Inherited Members

- Public Member Functions inherited from maxstAR.AbstractTrackableBehaviour
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...
 

Detailed Description

Handle tracking file definition in editor and runtime target image visibility

Definition at line 21 of file AbstractImageTrackableBehaviour.cs.

Member Function Documentation

◆ OnTrackerDataFileChanged()

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

Notify tracking file changed and change target image texture and scale, etc.

Parameters
trackerFileName

Reimplemented from maxstAR.AbstractTrackableBehaviour.

Definition at line 59 of file AbstractImageTrackableBehaviour.cs.

Property Documentation

◆ TargetHeight

float maxstAR.AbstractImageTrackableBehaviour.TargetHeight
get

Image target real height

Definition at line 44 of file AbstractImageTrackableBehaviour.cs.

◆ TargetWidth

float maxstAR.AbstractImageTrackableBehaviour.TargetWidth
get

Image target real width

Definition at line 36 of file AbstractImageTrackableBehaviour.cs.


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