/// <summary>
 /// Register to get Tango depth callbacks.
 ///
 /// NOTE: Tango depth callbacks happen on a different thread than the main
 /// Unity thread.
 /// </summary>
 internal virtual void SetCallback()
 {
     m_tangoDepth = new TangoUnityDepth();
     m_onDepthAvailableCallback = new Tango.DepthProvider.TangoService_onDepthAvailable(_OnDepthAvailable);
     Tango.DepthProvider.SetCallback(m_onDepthAvailableCallback);
 }
예제 #2
0
 /// <summary>
 /// Register this class to receive the OnDepthAvailable callback.
 /// </summary>
 public virtual void SetCallback()
 {
     m_onDepthAvailableCallback = new Tango.DepthProvider.TangoService_onDepthAvailable(_OnDepthAvailable);
     Tango.DepthProvider.SetCallback(m_onDepthAvailableCallback);
 }
예제 #3
0
 /// <summary>
 /// Register to get Tango depth callbacks.
 /// 
 /// NOTE: Tango depth callbacks happen on a different thread than the main
 /// Unity thread.
 /// </summary>
 internal virtual void SetCallback()
 {
     m_tangoDepth = new TangoUnityDepth();
     m_onDepthAvailableCallback = new Tango.DepthProvider.TangoService_onDepthAvailable(_OnDepthAvailable);
     Tango.DepthProvider.SetCallback(m_onDepthAvailableCallback);
 }
예제 #4
0
    /// <summary>
    /// Register this class to receive the OnDepthAvailable callback.
    /// </summary>
    public virtual void SetCallback()
    {
        m_onDepthAvailableCallback = new Tango.DepthProvider.TangoService_onDepthAvailable(_OnDepthAvailable);
		Tango.DepthProvider.SetCallback(m_onDepthAvailableCallback);
    }