This class serves both as an augmentation definition for a ModelTarget in the editor as well as a tracked ModelTarget result at runtime. More...
Public Types | |
enum | GuideViewDisplayMode { NoGuideView , GuideView2D , GuideView3D } |
The guide view display modes. More... | |
Public Member Functions | |
int | GetActiveGuideViewIndex () |
Return the active Guide View index. | |
string | GetActiveStateName () |
Get the active state name. | |
IEnumerable< string > | GetAvailableStateNames () |
Get a collection of all available state names. | |
Bounds | GetBoundingBox () |
Return the bounding box of the target (in 3D scene units). | |
GuideView | GetGuideView (int guideViewIndex) |
Return a Guide View with a given index. | |
int | GetNumGuideViews () |
The number of guide views for the model target. | |
Vector3 | GetSize () |
Return the size of this target in scene units. | |
TrackingOptimization | GetTrackingOptimization () |
Get the tracking optimization. | |
void | Reset () |
Reset tracking of this Model Target observer This will stop any ongoing tracking of this Model Target including extended tracking. The tracking will automatically restart if the target is recognized again. Only an activated target can be reset. | |
bool | SetActiveGuideViewIndex (int index) |
Set the index for an active GuideView for this ModelTarget. | |
bool | SetActiveGuideViewName (string guideViewName) |
Activates a guide view by name. | |
bool | SetActiveStateName (string stateName) |
Set the active state name. | |
void | SetBoundingBox (Vector3 minBBox, Vector3 maxBBox) |
Set the Bounding Box (only in editor mode). | |
void | SetHeight (float height) |
Set the height (z-dimension) of the target in scene units. This will scale the target uniformly. | |
void | SetLength (float length) |
Set the length (x-dimension) of the target in scene units. This will scale the target uniformly. | |
bool | SetTrackingOptimization (TrackingOptimization mode) |
Set tracking optimization. | |
void | SetWidth (float width) |
Set the width (y-dimension) of the target in scene units. This will scale the target uniformly. | |
Public Attributes | |
Texture2D | m2DGuideViewImage |
2D guide view image | |
Material | m2DGuideViewMaterial |
2D guide view material | |
Material | m3DGuideViewMaterial |
3D guide view material | |
GameObject | m3DGuideViewModel |
3D guide view GameObject | |
Properties | |
Material[] | GuideView2DMaterials [get, set] |
2D guide view materials | |
Material[] | GuideView3DMaterials [get, set] |
3D guide view materials | |
GuideViewDisplayMode | GuideViewMode [get, set] |
Get or set the GuideViewDisplayMode. | |
TrackingOptimization | TrackingOptimization [get, set] |
Tracking optimization setting. | |
Properties inherited from ObserverBehaviour | |
int? | ID [get] |
The runtime Id of the Observer. | |
string | TargetName [get] |
Name of the target of the Observer. | |
TargetStatus | TargetStatus = TargetStatus.NotObserved [get] |
Current status information of the target. | |
Additional Inherited Members | |
Events inherited from ObserverBehaviour | |
Action< ObserverBehaviour > | OnBehaviourDestroyed |
Triggered when this behaviour is destroyed. Can be used for script cleanup. | |
Action< ObserverBehaviour, TargetStatus > | OnTargetStatusChanged |
Triggered when the TargetStatus changes. | |
This class serves both as an augmentation definition for a ModelTarget in the editor as well as a tracked ModelTarget result at runtime.
enum GuideViewDisplayMode |
|
inline |
Return the active Guide View index.
|
inline |
Get the active state name.
|
inline |
Get a collection of all available state names.
|
inline |
Return the bounding box of the target (in 3D scene units).
|
inline |
Return a Guide View with a given index.
|
inline |
The number of guide views for the model target.
|
inline |
Return the size of this target in scene units.
|
inline |
Get the tracking optimization.
|
inline |
Reset tracking of this Model Target observer This will stop any ongoing tracking of this Model Target including extended tracking. The tracking will automatically restart if the target is recognized again. Only an activated target can be reset.
|
inline |
Set the index for an active GuideView for this ModelTarget.
|
inline |
Activates a guide view by name.
guideViewName | The name of the guide view to be activated |
|
inline |
Set the active state name.
|
inline |
Set the Bounding Box (only in editor mode).
minBBox | bounding box min position |
maxBBox | bounding box max position |
|
inline |
Set the height (z-dimension) of the target in scene units. This will scale the target uniformly.
height | height value |
|
inline |
Set the length (x-dimension) of the target in scene units. This will scale the target uniformly.
length | length value |
|
inline |
Set tracking optimization.
|
inline |
Set the width (y-dimension) of the target in scene units. This will scale the target uniformly.
width | width value |
Texture2D m2DGuideViewImage |
2D guide view image
Material m2DGuideViewMaterial |
2D guide view material
Material m3DGuideViewMaterial |
3D guide view material
GameObject m3DGuideViewModel |
3D guide view GameObject
|
getset |
2D guide view materials
|
getset |
3D guide view materials
|
getset |
Get or set the GuideViewDisplayMode.
Tracking optimization setting.