예제 #1
0
 public static int GetTrackingStatus(int type)
 {
     if (GetHmdVersion() >= API_2_0_0.apiVersion)
     {
         return(API_2_0_0.GetDeviceTrackingStatus(type));
     }
     return(0);
 }
예제 #2
0
 public static int GetTrackingStatus(int type)
 {
     if (hmdVersion <= 0)
     {
         hmdVersion = API_1_0_0.GetVersionByDeviceType(0);
     }
     if (hmdVersion >= API_2_0_0.apiVersion)
     {
         return(API_2_0_0.GetDeviceTrackingStatus(type));
     }
     return(0);
 }