C++ Java Unity
Unity Reference
ModelTarget Interface Reference

A trackable behaviour to represent a flat natural feature target. More...

Inheritance diagram for ModelTarget:
ObjectTarget Trackable

Public Member Functions

int GetActiveGuideViewIndex ()
 Returns the active GuideView index More...
 
OrientedBoundingBox3D GetBoundingBox ()
 Returns the bounding box of the target (in 3D scene units). More...
 
GuideView GetGuideView (int index)
 Returns a guide view with a given index More...
 
ModelTargetMotionHint GetMotionHint ()
 Get the motion hint, which can be STATIC with hint == 0 or ADAPTIVE with hint == 1. More...
 
int GetNumGuideViews ()
 Queries native for the number of guide views for the model target More...
 
bool SetActiveGuideViewIndex (int index)
 Sets the index for an active GuideView for this ModelTarget More...
 
bool SetMotionHint (ModelTargetMotionHint hint)
 Set the motion hint, which can be STATIC with hint == 0 or ADAPTIVE with hint == 1. More...
 
- Public Member Functions inherited from ObjectTarget
float GetLargestSizeComponent ()
 Returns the largets component of the target size. More...
 
Vector3 GetSize ()
 Returns the size of the target (in 3D scene units). More...
 
bool SetSize (Vector3 size)
 Sets the size of the target (in 3D scene units). This is only allowed when the dataset is not active! More...
 

Additional Inherited Members

- Properties inherited from Trackable
int ID [get]
 The runtime Id of the Trackable More...
 
string Name [get]
 The name of the Trackable More...
 

Detailed Description

A trackable behaviour to represent a flat natural feature target.

Member Function Documentation

int GetActiveGuideViewIndex ( )

Returns the active GuideView index

OrientedBoundingBox3D GetBoundingBox ( )

Returns the bounding box of the target (in 3D scene units).

GuideView GetGuideView ( int  index)

Returns a guide view with a given index

ModelTargetMotionHint GetMotionHint ( )

Get the motion hint, which can be STATIC with hint == 0 or ADAPTIVE with hint == 1.

int GetNumGuideViews ( )

Queries native for the number of guide views for the model target

bool SetActiveGuideViewIndex ( int  index)

Sets the index for an active GuideView for this ModelTarget

bool SetMotionHint ( ModelTargetMotionHint  hint)

Set the motion hint, which can be STATIC with hint == 0 or ADAPTIVE with hint == 1.