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

Method HasCamera

headers/openvr_api.cs:2628–2633  ·  view source on GitHub ↗
(uint nDeviceIndex,ref bool pHasCamera)

Source from the content-addressed store, hash-verified

2626 return Marshal.PtrToStringAnsi(result);
2627 }
2628 public EVRTrackedCameraError HasCamera(uint nDeviceIndex,ref bool pHasCamera)
2629 {
2630 pHasCamera = false;
2631 EVRTrackedCameraError result = FnTable.HasCamera(nDeviceIndex,ref pHasCamera);
2632 return result;
2633 }
2634 public EVRTrackedCameraError GetCameraFrameSize(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,ref uint pnWidth,ref uint pnHeight,ref uint pnFrameBufferSize)
2635 {
2636 pnWidth = 0;

Callers 1

InitOpenVRMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected