C# Class RelocalizingOverlay, project-tango-poc

The image overlay displayed during the relocalization process.
Inheritance: MonoBehaviour, ITangoPose, ITangoLifecycle
ファイルを表示 Open project: stetro/project-tango-poc

Public Properties

Property Type Description
m_relocalizationOverlay GameObject

Public Methods

Method Description
OnTangoPermissions ( bool permissionsGranted ) : void

Internal callback when a permissions event happens.

OnTangoPoseAvailable ( TangoPoseData pose ) : void

OnTangoPoseAvailable is called from Tango when a new Pose is available.

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 override function. We register this object as a listener to the pose callbacks.

Method Details

OnTangoPermissions() public method

Internal callback when a permissions event happens.
public OnTangoPermissions ( bool permissionsGranted ) : void
permissionsGranted bool If set to true permissions granted.
return void

OnTangoPoseAvailable() public method

OnTangoPoseAvailable is called from Tango when a new Pose is available.
public OnTangoPoseAvailable ( TangoPoseData pose ) : void
pose Tango.TangoPoseData The new Tango pose.
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

Start() public method

Unity start override function. We register this object as a listener to the pose callbacks.
public Start ( ) : void
return void

Property Details

m_relocalizationOverlay public_oe property

The overlay image of the relocalizing process.
public GameObject m_relocalizationOverlay
return GameObject