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

Method VRSpatialAnchors

headers/openvr_api.cs:8745–8756  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8743 }
8744
8745 public CVRSpatialAnchors VRSpatialAnchors()
8746 {
8747 CheckClear();
8748 if (m_pVRSpatialAnchors == null)
8749 {
8750 var eError = EVRInitError.None;
8751 var pInterface = OpenVRInterop.GetGenericInterface(FnTable_Prefix + IVRSpatialAnchors_Version, ref eError);
8752 if (pInterface != IntPtr.Zero && eError == EVRInitError.None)
8753 m_pVRSpatialAnchors = new CVRSpatialAnchors(pInterface);
8754 }
8755 return m_pVRSpatialAnchors;
8756 }
8757
8758 public CVRDebug VRDebug()
8759 {

Callers 1

OpenVRClass · 0.45

Calls 1

GetGenericInterfaceMethod · 0.45

Tested by

no test coverage detected