C# Class PoseListener, TangoAugmentedRealityTest

Abstract base class that can be used to automatically register for onPoseAvailable callbacks from the Tango Service.
Inheritance: MonoBehaviour
显示文件 Open project: stevehenderson/TangoAugmentedRealityTest Class Usage Examples

Public Properties

Property Type Description
m_poseAvailableCallback Tango.PoseProvider.TangoService_onPoseAvailable

Public Methods

Method Description
SetCallback ( Array, framePairs ) : void

Registers the callback.

Protected Methods

Method Description
_OnPoseAvailable ( IntPtr, callbackContext, TangoPoseData pose ) : void

Handle the callback sent by the Tango Service when a new pose is sampled.

Method Details

SetCallback() public method

Registers the callback.
public SetCallback ( Array, framePairs ) : void
framePairs Array, Frame pairs.
return void

_OnPoseAvailable() protected abstract method

Handle the callback sent by the Tango Service when a new pose is sampled.
protected abstract _OnPoseAvailable ( IntPtr, callbackContext, TangoPoseData pose ) : void
callbackContext IntPtr, Callback context.
pose TangoPoseData Pose.
return void

Property Details

m_poseAvailableCallback public_oe property

public Tango.PoseProvider.TangoService_onPoseAvailable m_poseAvailableCallback
return Tango.PoseProvider.TangoService_onPoseAvailable