C++ Java Unity
Unity Reference
ImageTarget Interface Reference

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

Inheritance diagram for ImageTarget:
ObjectTarget Trackable

Public Member Functions

VirtualButton CreateVirtualButton (string name, RectangleData area)
 Creates a new virtual button and adds it to the ImageTarget Returns NULL if the corresponding DataSet is currently active. More...
 
bool DestroyVirtualButton (VirtualButton vb)
 Removes and destroys one of the ImageTarget's virtual buttons Returns false if the corresponding DataSet is currently active. More...
 
VirtualButton GetVirtualButtonByName (string name)
 Returns a virtual button by its name Returns NULL if no virtual button with that name exists in this ImageTarget More...
 
IEnumerable< VirtualButtonGetVirtualButtons ()
 Returns the virtual buttons that are defined for this imageTarget 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...
 

Properties

ImageTargetType ImageTargetType [get]
 The type of this ImageTarget (Predefined, Cloud Reco, Instant Image Target) More...
 
- 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

VirtualButton CreateVirtualButton ( string  name,
RectangleData  area 
)

Creates a new virtual button and adds it to the ImageTarget Returns NULL if the corresponding DataSet is currently active.

bool DestroyVirtualButton ( VirtualButton  vb)

Removes and destroys one of the ImageTarget's virtual buttons Returns false if the corresponding DataSet is currently active.

VirtualButton GetVirtualButtonByName ( string  name)

Returns a virtual button by its name Returns NULL if no virtual button with that name exists in this ImageTarget

IEnumerable<VirtualButton> GetVirtualButtons ( )

Returns the virtual buttons that are defined for this imageTarget

Property Documentation

The type of this ImageTarget (Predefined, Cloud Reco, Instant Image Target)