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

Method GetComponentStateForBinding

headers/openvr_api.cs:4501–4509  ·  view source on GitHub ↗
(string pchRenderModelName,string pchComponentName,ref InputBindingInfo_t pOriginInfo,uint unBindingInfoSize,uint unBindingInfoCount,ref RenderModel_ComponentState_t pComponentState)

Source from the content-addressed store, hash-verified

4499 return result;
4500 }
4501 public EVRInputError GetComponentStateForBinding(string pchRenderModelName,string pchComponentName,ref InputBindingInfo_t pOriginInfo,uint unBindingInfoSize,uint unBindingInfoCount,ref RenderModel_ComponentState_t pComponentState)
4502 {
4503 IntPtr pchRenderModelNameUtf8 = Utils.ToUtf8(pchRenderModelName);
4504 IntPtr pchComponentNameUtf8 = Utils.ToUtf8(pchComponentName);
4505 EVRInputError result = FnTable.GetComponentStateForBinding(pchRenderModelNameUtf8,pchComponentNameUtf8,ref pOriginInfo,unBindingInfoSize,unBindingInfoCount,ref pComponentState);
4506 Marshal.FreeHGlobal(pchRenderModelNameUtf8);
4507 Marshal.FreeHGlobal(pchComponentNameUtf8);
4508 return result;
4509 }
4510 public bool IsUsingLegacyInput()
4511 {
4512 bool result = FnTable.IsUsingLegacyInput();

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected