Ejemplo n.º 1
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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
    }