NRSDKApiForUnity
Classes
NRTrackableBehaviour

Inherits MonoBehaviour.

Public Member Functions

void Initialize (NRTrackable trackable)
 

Public Attributes

NRTrackable Trackable
 

Protected Attributes

string m_TrackableName = ""
 
bool m_PreserveChildSize
 
bool m_InitializedInEditor
 
int m_DatabaseIndex = -1
 

Properties

string TrackableName [getset]
 
bool PreserveChildSize [getset]
 
bool InitializedInEditor [getset]
 
int DatabaseIndex [getset]
 

Detailed Description

Base classes for all trackable monobehaviour objects.

Member Function Documentation

◆ Initialize()

void NRKernal.NRTrackableBehaviour.Initialize ( NRTrackable  trackable)

Initializes this object.

Parameters
trackableThe trackable.

Property Documentation

◆ DatabaseIndex

int NRKernal.NRTrackableBehaviour.DatabaseIndex
getset

Gets or sets the zero-based index of the database.

The database index.

◆ InitializedInEditor

bool NRKernal.NRTrackableBehaviour.InitializedInEditor
getset

Gets or sets a value indicating whether the initialized in editor.

True if initialized in editor, false if not.

◆ PreserveChildSize

bool NRKernal.NRTrackableBehaviour.PreserveChildSize
getset

Gets or sets a value indicating whether the preserve child size.

True if preserve child size, false if not.

◆ TrackableName

string NRKernal.NRTrackableBehaviour.TrackableName
getset

Gets or sets the name of the trackable.

The name of the trackable.