NRSDKApiForUnity
Classes
NRTrackable
Inheritance diagram for NRKernal.NRTrackable:
NRKernal.NRTrackableImage

Public Member Functions

int GetDataBaseIndex ()
 
TrackingState GetTrackingState ()
 
TrackableType GetTrackableType ()
 
virtual Pose GetCenterPose ()
 
NRAnchor CreateAnchor ()
 

Detailed Description

A Trackable in the real world detected by NRInternal. The base class of TrackablePlane and TrackableImage.Through this class, application can get the infomation of a trackable object.

Member Function Documentation

◆ CreateAnchor()

NRAnchor NRKernal.NRTrackable.CreateAnchor ( )

Creates an anchor attached to current trackable at given pose.

Returns
The new anchor.

◆ GetCenterPose()

virtual Pose NRKernal.NRTrackable.GetCenterPose ( )
virtual

Get the center pose of current trackable.

Returns
The center pose.

Reimplemented in NRKernal.NRTrackableImage.

◆ GetDataBaseIndex()

int NRKernal.NRTrackable.GetDataBaseIndex ( )

Get the id of trackable.

Returns
The data base index.

◆ GetTrackableType()

TrackableType NRKernal.NRTrackable.GetTrackableType ( )

Get the tracking type of current trackable.

Returns
The trackable type.

◆ GetTrackingState()

TrackingState NRKernal.NRTrackable.GetTrackingState ( )

Get the tracking state of current trackable.

Returns
The tracking state.