protected override void SetupARInterface() { m_RemoteInterface = new ARRemoteEditorInterface(); m_RemoteInterface.editorConnection = m_EditorConnection; m_ARInterface = m_RemoteInterface; ARInterface.SetInterface(m_RemoteInterface); m_RemoteInterface.sendVideo = sendVideo; }
protected virtual void SetupARInterface() { m_ARInterface = ARInterface.GetInterface(); if (m_ARInterface.IsSupported) { m_WorldTracking = true; } else { AR3DOFInterface ar3DOFInterface = new AR3DOFInterface(); m_3DOFTracking.SetActive(true); ar3DOFInterface.SetupBackgroundImage(m_Background); ar3DOFInterface.SetupAspectRatioFitter(m_Fitter); ARInterface.SetInterface(ar3DOFInterface); m_ARInterface = ARInterface.GetInterface(); // require camera position earily for 3 DOF tracking m_ARInterface.SetupCamera(m_ARCamera); m_WorldTracking = false; } }