コード例 #1
0
 public OculusRiftPanel(OculusRiftTracker tracker)
 {
     InitializeComponent();
     try
     {
         DataContext = tracker;
     }
     catch (Exception)
     {
     }
 }
コード例 #2
0
 public OculusRiftPanel(OculusRiftTracker tracker)
 {
     InitializeComponent();
     try
     {
         DataContext = tracker;
     }
     catch (Exception exc)
     {
     }
 }
コード例 #3
0
 public OculusRiftPlugin()
 {
     try
     {
         Name    = "Oculus Rift";
         Content = new OculusRiftTracker();
         Panel   = null;
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }