C# Class Tango.TangoUx

Inheritance: UnityEngine.MonoBehaviour, ITangoLifecycle, ITangoPose, ITangoEventMultithreaded, ITangoDepthMultithreaded
Exibir arquivo Open project: stetro/project-tango-poc

Public Properties

Property Type Description
m_drawDefaultUXExceptions bool
m_enableUXLibrary bool
m_holdPosture TangoUxEnums.UxHoldPostureType
m_showConnectionScreen bool

Public Methods

Method 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

Method Description
_StartExceptionsListener ( ) : IEnumerator

Start exceptions listener.

Method Details

OnDestroy() public method

Raises the destroy event.
public OnDestroy ( ) : void
return void

OnTangoDepthMultithreadedAvailable() public method

Raises the tango depth available event.
public OnTangoDepthMultithreadedAvailable ( Tango tangoDepth ) : void
tangoDepth Tango Tango depth.
return void

OnTangoEventMultithreadedAvailableEventHandler() public method

Raises the tango event available event handler event.
public OnTangoEventMultithreadedAvailableEventHandler ( Tango tangoEvent ) : void
tangoEvent Tango Tango event.
return void

OnTangoPermissions() public method

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

OnTangoPoseAvailable() public method

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

OnTangoServiceConnected() public method

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

OnTangoServiceDisconnected() public method

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

Register() public method

Register the specified tangoObject.
public Register ( Object tangoObject ) : void
tangoObject Object Tango object.
return void

SetHoldPosture() public method

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

Start() public method

Start this instance.
public Start ( ) : void
return void

Unregister() public method

Unregister the specified tangoObject.
public Unregister ( Object tangoObject ) : void
tangoObject Object Tango object.
return void

Property Details

m_drawDefaultUXExceptions public_oe property

public bool m_drawDefaultUXExceptions
return bool

m_enableUXLibrary public_oe property

public bool m_enableUXLibrary
return bool

m_holdPosture public_oe property

public TangoUxEnums.UxHoldPostureType m_holdPosture
return TangoUxEnums.UxHoldPostureType

m_showConnectionScreen public_oe property

public bool m_showConnectionScreen
return bool