MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / VRNotifications

Method VRNotifications

headers/openvr_api.cs:8771–8782  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8769 }
8770
8771 public CVRNotifications VRNotifications()
8772 {
8773 CheckClear();
8774 if (m_pVRNotifications == null)
8775 {
8776 var eError = EVRInitError.None;
8777 var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix + IVRNotifications_Version, ref eError);
8778 if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
8779 m_pVRNotifications = new CVRNotifications(pInterface);
8780 }
8781 return m_pVRNotifications;
8782 }
8783
8784 private CVRSystem m_pVRSystem;
8785 private CVRChaperone m_pVRChaperone;

Callers 1

OpenVRClass · 0.45

Calls 1

GetGenericInterfaceMethod · 0.45

Tested by

no test coverage detected