예제 #1
0
 public NativeConfigration(NativeInterface nativeInterface)
 {
     m_NativeInterface            = nativeInterface;
     m_LastSessionConfig          = new NRSessionConfig();
     m_NativeTrackableImage       = m_NativeInterface.NativeTrackableImage;
     m_TrackableImageDatabaseDict = new Dictionary <string, ulong>();
 }
예제 #2
0
 public NativeConfigration(NativeInterface nativeInterface)
 {
     m_NativeInterface            = nativeInterface;
     m_LastSessionConfig          = NRSessionConfig.CreateInstance(typeof(NRSessionConfig)) as NRSessionConfig;
     m_NativeTrackableImage       = m_NativeInterface.NativeTrackableImage;
     m_TrackableImageDatabaseDict = new Dictionary <string, ulong>();
 }
        public NativeInterface()
        {
            //Add Standalone plugin search path.
#if UNITY_STANDALONE_WIN
            NativeApi.SetDllDirectory(System.IO.Path.Combine(Application.dataPath, "Plugins"));
#endif
            NativeHeadTracking   = new NativeHeadTracking(this);
            NativeTracking       = new NativeTracking(this);
            NativeTrackableImage = new NativeTrackableImage(this);
            NativePlane          = new NativePlane(this);
            NativeTrackable      = new NativeTrackable(this);
            TrackableFactory     = new NRTrackableManager(this);
            Configration         = new NativeConfigration(this);
        }
예제 #4
0
 public NativeConfigration(NativeInterface nativeInterface)
 {
     m_NativeInterface      = nativeInterface;
     m_NativeTrackableImage = m_NativeInterface.NativeTrackableImage;
 }