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

Method GetCameraErrorNameFromEnum

headers/openvr_api.cs:2623–2627  ·  view source on GitHub ↗
(EVRTrackedCameraError eCameraError)

Source from the content-addressed store, hash-verified

2621 FnTable = (IVRTrackedCamera)Marshal.PtrToStructure(pInterface, typeof(IVRTrackedCamera));
2622 }
2623 public string GetCameraErrorNameFromEnum(EVRTrackedCameraError eCameraError)
2624 {
2625 IntPtr result = FnTable.GetCameraErrorNameFromEnum(eCameraError);
2626 return Marshal.PtrToStringAnsi(result);
2627 }
2628 public EVRTrackedCameraError HasCamera(uint nDeviceIndex,ref bool pHasCamera)
2629 {
2630 pHasCamera = false;

Callers 1

InitOpenVRMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected