private static void InitPlatform() { VuforiaUnity.SetStandardInitializationParameters(); VuforiaRuntime.Instance.InitPlatform(CreateUnityPlayer()); }
/// <summary> /// Pauses Vuforia /// </summary> public void OnPause() { VuforiaUnity.OnPause(); }
/// <summary> /// Deinitializes Vuforia /// </summary> public void OnDestroy() { VuforiaUnity.Deinit(); }
/// <summary> /// Resumes Vuforia /// </summary> public void OnResume() { VuforiaUnity.OnResume(); }
internal static void CleanTrackableFromUnwantedComponents(TrackableBehaviour trackableBehaviour) { VuforiaUnity.GetHoloLensApiAbstraction().DeleteWorldAnchor(trackableBehaviour); }
public bool StartExtendedTracking(IntPtr datasetPtr, int trackableID) { VuforiaUnity.GetHoloLensApiAbstraction().SetSpatialAnchorTrackingCallback(new Action <VuforiaManager.TrackableIdPair, bool>(this.OnSpatialAnchorTrackingCallback)); this.mTrackablesExtendedTrackingEnabled.Add(trackableID); return(true); }