public static Controller GetConnectedControllers() { if (version >= OVRP_1_9_0.version) { return(OVRP_1_9_0.ovrp_GetConnectedControllers()); } return(Controller.None); }
public static Controller GetActiveController() { if (version >= OVRP_1_9_0.version) { return(OVRP_1_9_0.ovrp_GetActiveController()); } return(Controller.None); }
public static SystemHeadset GetSystemHeadsetType() { if (version >= OVRP_1_9_0.version) { return(OVRP_1_9_0.ovrp_GetSystemHeadsetType()); } return(SystemHeadset.None); }
public static bool ResetAppPerfStats() { if (version >= OVRP_1_9_0.version) { return(OVRP_1_9_0.ovrp_ResetAppPerfStats() == OVRPlugin.Bool.True); } else { return(false); } }
public static AppPerfStats GetAppPerfStats() { if (version >= OVRP_1_9_0.version) { return(OVRP_1_9_0.ovrp_GetAppPerfStats()); } else { return(new AppPerfStats()); } }
public static bool GetBoundaryGeometry2(BoundaryType boundaryType, IntPtr points, ref int pointsCount) { if (version >= OVRP_1_9_0.version) { return(OVRP_1_9_0.ovrp_GetBoundaryGeometry2(boundaryType, points, ref pointsCount) == OVRPlugin.Bool.True); } else { pointsCount = 0; return(false); } }