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();
 }
Example #5
0
 internal static void CleanTrackableFromUnwantedComponents(TrackableBehaviour trackableBehaviour)
 {
     VuforiaUnity.GetHoloLensApiAbstraction().DeleteWorldAnchor(trackableBehaviour);
 }
Example #6
0
 public bool StartExtendedTracking(IntPtr datasetPtr, int trackableID)
 {
     VuforiaUnity.GetHoloLensApiAbstraction().SetSpatialAnchorTrackingCallback(new Action <VuforiaManager.TrackableIdPair, bool>(this.OnSpatialAnchorTrackingCallback));
     this.mTrackablesExtendedTrackingEnabled.Add(trackableID);
     return(true);
 }