C# Class Tango.TangoUx

Inheritance: UnityEngine.MonoBehaviour, ITangoLifecycle, ITangoPose, ITangoEventMultithreaded, ITangoDepthMultithreaded
Afficher le fichier Open project: stetro/project-tango-poc

Méthodes publiques

Свойство Type Description
m_drawDefaultUXExceptions bool
m_enableUXLibrary bool
m_holdPosture TangoUxEnums.UxHoldPostureType
m_showConnectionScreen bool

Méthodes publiques

Méthode Description
OnDestroy ( ) : void

Raises the destroy event.

OnTangoDepthMultithreadedAvailable ( Tango tangoDepth ) : void

Raises the tango depth available event.

OnTangoEventMultithreadedAvailableEventHandler ( Tango tangoEvent ) : void

Raises the tango event available event handler event.

OnTangoPermissions ( bool permissionsGranted ) : void

This is called when the permission granting process is finished.

OnTangoPoseAvailable ( Tango poseData ) : void

Raises the tango pose available event.

OnTangoServiceConnected ( ) : void

This is called when succesfully connected to the Tango service.

OnTangoServiceDisconnected ( ) : void

This is called when disconnected from the Tango service.

Register ( Object tangoObject ) : void

Register the specified tangoObject.

SetHoldPosture ( TangoUxEnums holdPostureType ) : void

Sets the recommended way to hold the device.

Start ( ) : void

Start this instance.

Unregister ( Object tangoObject ) : void

Unregister the specified tangoObject.

Private Methods

Méthode Description
_StartExceptionsListener ( ) : IEnumerator

Start exceptions listener.

Method Details

OnDestroy() public méthode

Raises the destroy event.
public OnDestroy ( ) : void
Résultat void

OnTangoDepthMultithreadedAvailable() public méthode

Raises the tango depth available event.
public OnTangoDepthMultithreadedAvailable ( Tango tangoDepth ) : void
tangoDepth Tango Tango depth.
Résultat void

OnTangoEventMultithreadedAvailableEventHandler() public méthode

Raises the tango event available event handler event.
public OnTangoEventMultithreadedAvailableEventHandler ( Tango tangoEvent ) : void
tangoEvent Tango Tango event.
Résultat void

OnTangoPermissions() public méthode

This is called when the permission granting process is finished.
public OnTangoPermissions ( bool permissionsGranted ) : void
permissionsGranted bool true if permissions were granted, otherwise false.
Résultat void

OnTangoPoseAvailable() public méthode

Raises the tango pose available event.
public OnTangoPoseAvailable ( Tango poseData ) : void
poseData Tango Pose data.
Résultat void

OnTangoServiceConnected() public méthode

This is called when succesfully connected to the Tango service.
public OnTangoServiceConnected ( ) : void
Résultat void

OnTangoServiceDisconnected() public méthode

This is called when disconnected from the Tango service.
public OnTangoServiceDisconnected ( ) : void
Résultat void

Register() public méthode

Register the specified tangoObject.
public Register ( Object tangoObject ) : void
tangoObject Object Tango object.
Résultat void

SetHoldPosture() public méthode

Sets the recommended way to hold the device.
public SetHoldPosture ( TangoUxEnums holdPostureType ) : void
holdPostureType TangoUxEnums Hold posture type.
Résultat void

Start() public méthode

Start this instance.
public Start ( ) : void
Résultat void

Unregister() public méthode

Unregister the specified tangoObject.
public Unregister ( Object tangoObject ) : void
tangoObject Object Tango object.
Résultat void

Property Details

m_drawDefaultUXExceptions public_oe property

public bool m_drawDefaultUXExceptions
Résultat bool

m_enableUXLibrary public_oe property

public bool m_enableUXLibrary
Résultat bool

m_holdPosture public_oe property

public TangoUxEnums.UxHoldPostureType m_holdPosture
Résultat TangoUxEnums.UxHoldPostureType

m_showConnectionScreen public_oe property

public bool m_showConnectionScreen
Résultat bool