/// <summary> /// Connects the texture. /// </summary> /// <param name="cameraId">Camera identifier.</param> /// <param name="textureId">Texture identifier.</param> public static void ConnectTexture(TangoEnums.TangoCameraId cameraId, int textureId) { int returnValue = VideoOverlayAPI.TangoService_connectTextureId(cameraId, textureId); if (returnValue != Common.ErrorType.TANGO_SUCCESS) { Debug.Log("VideoOverlayProvider.ConnectTexture() Texture was not connected to camera!"); } }
/// <summary> /// Connects the texture. /// </summary> /// <param name="cameraId">Camera identifier.</param> /// <param name="textureId">Texture identifier.</param> public static void ConnectTexture(TangoEnums.TangoCameraId cameraId, int textureId) { int returnValue = VideoOverlayAPI.TangoService_connectTextureId(cameraId, textureId); if (returnValue != Common.ErrorType.TANGO_SUCCESS) { DebugLogger.GetInstance.WriteToLog(DebugLogger.EDebugLevel.DEBUG_ERROR, "VideoOverlayProvider.ConnectTexture() Texture was not connected to camera!"); } }