public CVRChaperoneSetup VRChaperoneSetup() { this.CheckClear(); if (this.m_pVRChaperoneSetup == null) { EVRInitError eVRInitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRChaperoneSetup_005", ref eVRInitError); if (genericInterface != IntPtr.Zero && eVRInitError == EVRInitError.None) { this.m_pVRChaperoneSetup = new CVRChaperoneSetup(genericInterface); } } return(this.m_pVRChaperoneSetup); }
public CVRCompositor VRCompositor() { this.CheckClear(); if (this.m_pVRCompositor == null) { EVRInitError eVRInitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRCompositor_013", ref eVRInitError); if (genericInterface != IntPtr.Zero && eVRInitError == EVRInitError.None) { this.m_pVRCompositor = new CVRCompositor(genericInterface); } } return(this.m_pVRCompositor); }
public CVRApplications VRApplications() { this.CheckClear(); if (this.m_pVRApplications == null) { EVRInitError eVRInitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRApplications_004", ref eVRInitError); if (genericInterface != IntPtr.Zero && eVRInitError == EVRInitError.None) { this.m_pVRApplications = new CVRApplications(genericInterface); } } return(this.m_pVRApplications); }
public CVRSystem VRSystem() { this.CheckClear(); if (this.m_pVRSystem == null) { EVRInitError eVRInitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRSystem_011", ref eVRInitError); if (genericInterface != IntPtr.Zero && eVRInitError == EVRInitError.None) { this.m_pVRSystem = new CVRSystem(genericInterface); } } return(this.m_pVRSystem); }
public CVRExtendedDisplay VRExtendedDisplay() { this.CheckClear(); if (this.m_pVRExtendedDisplay == null) { EVRInitError eVRInitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRExtendedDisplay_001", ref eVRInitError); if (genericInterface != IntPtr.Zero && eVRInitError == EVRInitError.None) { this.m_pVRExtendedDisplay = new CVRExtendedDisplay(genericInterface); } } return(this.m_pVRExtendedDisplay); }
// Token: 0x06002FAB RID: 12203 RVA: 0x000CA238 File Offset: 0x000C8438 public CVRTrackedCamera VRTrackedCamera() { this.CheckClear(); if (this.m_pVRTrackedCamera == null) { EVRInitError evrinitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRTrackedCamera_003", ref evrinitError); if (genericInterface != IntPtr.Zero && evrinitError == EVRInitError.None) { this.m_pVRTrackedCamera = new CVRTrackedCamera(genericInterface); } } return(this.m_pVRTrackedCamera); }
// Token: 0x06002FAA RID: 12202 RVA: 0x000CA1EC File Offset: 0x000C83EC public CVRScreenshots VRScreenshots() { this.CheckClear(); if (this.m_pVRScreenshots == null) { EVRInitError evrinitError = EVRInitError.None; IntPtr genericInterface = OpenVRInterop.GetGenericInterface("FnTable:IVRScreenshots_001", ref evrinitError); if (genericInterface != IntPtr.Zero && evrinitError == EVRInitError.None) { this.m_pVRScreenshots = new CVRScreenshots(genericInterface); } } return(this.m_pVRScreenshots); }
public CVRNotifications VRNotifications() { CheckClear(); if (m_pVRNotifications == null) { var eError = EVRInitError.None; var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix + IVRNotifications_Version, ref eError); if (pInterface != IntPtr.Zero && eError == EVRInitError.None) { m_pVRNotifications = new CVRNotifications(pInterface); } } return(m_pVRNotifications); }
public static IntPtr GetGenericInterface(string pchInterfaceVersion, ref EVRInitError peError) { return(OpenVRInterop.GetGenericInterface(pchInterfaceVersion, ref peError)); }