public void SetFlag(VROverlayFlags flag, bool val) { if (OverlayExists && validHandle) { error = Overlay.SetOverlayFlag(_overlayHandle, flag, val); } }
// Overlay Flags public bool GetFlag(VROverlayFlags flag) { if (!OverlayExists || !validHandle) { return(false); } bool flagged = false; error = Overlay.GetOverlayFlag(_overlayHandle, flag, ref flagged); return(flagged); }
public abstract EVROverlayError GetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,ref bool pbEnabled);
public abstract EVROverlayError SetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,bool bEnabled);
internal static extern EVROverlayError VR_IVROverlay_GetOverlayFlag(IntPtr instancePtr, ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, ref bool pbEnabled);
public override EVROverlayError GetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,ref bool pbEnabled) { CheckIfUsable(); pbEnabled = false; EVROverlayError result = VRNativeEntrypoints.VR_IVROverlay_GetOverlayFlag(m_pVROverlay,ulOverlayHandle,eOverlayFlag,ref pbEnabled); return result; }
public override EVROverlayError SetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,bool bEnabled) { CheckIfUsable(); EVROverlayError result = VRNativeEntrypoints.VR_IVROverlay_SetOverlayFlag(m_pVROverlay,ulOverlayHandle,eOverlayFlag,bEnabled); return result; }
public EVROverlayError SetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) => default; // 0x00000001811DEC20-0x00000001811DEC50 public EVROverlayError GetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, ref bool pbEnabled) => default; // 0x00000001811DE2F0-0x00000001811DE320
public uint GetOverlayRenderingPid(ulong ulOverlayHandle) => default; // 0x00000001811DE480-0x00000001811DE4A0 public EVROverlayError SetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) => default; // 0x00000001811DEC20-0x00000001811DEC50
internal static extern VROverlayError VR_IVROverlay_SetOverlayFlag(IntPtr instancePtr, ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled);
public EVROverlayError GetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, ref bool pbEnabled) { pbEnabled = false; return(this.FnTable.GetOverlayFlag(ulOverlayHandle, eOverlayFlag, ref pbEnabled)); }
public EVROverlayError SetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { return(this.FnTable.SetOverlayFlag(ulOverlayHandle, eOverlayFlag, bEnabled)); }
public EVROverlayError GetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,ref bool pbEnabled) { pbEnabled = false; EVROverlayError result = FnTable.GetOverlayFlag(ulOverlayHandle,eOverlayFlag,ref pbEnabled); return result; }
public EVROverlayError SetOverlayFlag(ulong ulOverlayHandle,VROverlayFlags eOverlayFlag,bool bEnabled) { EVROverlayError result = FnTable.SetOverlayFlag(ulOverlayHandle,eOverlayFlag,bEnabled); return result; }
/// <summary> /// Sets or gets the specified flag for the specified overlay. /// </summary> /// /// <param name="flag">Flag to set</param> /// <param name="value">Flag value to set</param> public void SetFlag(VROverlayFlags flag, bool value) { AssertNoError(OpenVR.Overlay.SetOverlayFlag(overlayHandle, flag, value)); }