Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="VuforiaService" /> class.
        /// </summary>
        /// <param name="dataSetPath">Vuforia patters path.</param>
        public VuforiaService(string dataSetPath)
        {
            this.dataSetPath = dataSetPath;
#if IOS
            this.platformSpecificARService = new ARServiceIOS();
#endif
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="VuforiaService" /> class.
 /// </summary>
 /// <param name="dataSetPath">Vuforia patters path.</param>
 public VuforiaService(string dataSetPath)
 {
     this.dataSetPath = dataSetPath;
     #if IOS
     this.platformSpecificARService = new ARServiceIOS();
     #endif
 }
Exemple #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="VuforiaService" /> class.
        /// </summary>
        /// <param name="dataSetPath">Vuforia patters path.</param>
        /// <param name="licenseKey">Vuforia Liscense key</param>
        public VuforiaService(string dataSetPath, string licenseKey)
        {
            this.dataSetPath = dataSetPath;
            this.licenseKey  = licenseKey;
#if IOS
            this.platformSpecificARService = new ARServiceIOS();
#elif ANDROID
            this.platformSpecificARService = new ARServiceAndroid();
#endif
        }