Свойство | Type | Description | |
---|---|---|---|
m_enableLearningToggle | Toggle, | ||
m_gameControlPanel | GameObject | ||
m_guiController | AreaLearningInGameController, | ||
m_listContentParent | |||
m_listElement | GameObject | ||
m_poseController | TangoARPoseController, | ||
m_toggleGroup |
Méthode | Description | |
---|---|---|
OnTangoPermissions ( bool permissionsGranted ) : void |
Internal callback when a permissions event happens.
|
|
OnTangoServiceConnected ( ) : void |
This is called when succesfully connected to the Tango service.
|
|
OnTangoServiceDisconnected ( ) : void |
This is called when disconnected from the Tango service.
|
|
Start ( ) : void |
Unity Start function. This function is responsible for connecting callbacks, set up TangoApplication and initialize the data list.
|
|
StartGame ( bool isNewAreaDescription ) : void |
Start the game. This will start the service connection, and start pose estimation from Tango Service.
|
|
Update ( ) : void |
Unity Update function. Application will be closed when click the back button.
|
Méthode | Description | |
---|---|---|
_OnToggleChanged ( |
Callback function when toggle button is selected.
|
|
_PopulateList ( ) : void |
Refresh the scrolling list's content for both list. This function will query from the Tango API for the Tango space Area Description. Also, when it populates the scrolling list content, it will connect the delegate for each button in the list. The delegate is responsible for the actual import/export through the Tango API.
|
public OnTangoPermissions ( bool permissionsGranted ) : void | ||
permissionsGranted | bool | If set to |
Résultat | void |
public OnTangoServiceDisconnected ( ) : void | ||
Résultat | void |
public StartGame ( bool isNewAreaDescription ) : void | ||
isNewAreaDescription | bool | If set to |
Résultat | void |
public AreaLearningInGameController, m_guiController | ||
Résultat | AreaLearningInGameController, |
public RectTransform,UnityEngine m_listContentParent | ||
Résultat |
public TangoARPoseController, m_poseController | ||
Résultat | TangoARPoseController, |