250 virtual VRMessageOverlayResponse ShowMessageOverlay(
const char* pchText,
const char* pchCaption,
const char* pchButton0Text,
const char* pchButton1Text =
nullptr,
const char* pchButton2Text =
nullptr,
const char* pchButton3Text =
nullptr) = 0;
Definition: IVROverlay.h:168
virtual EVROverlayError ShowKeyboard(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, std::uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)=0
virtual EVROverlayError GetOverlayTransformTrackedDeviceComponent(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, char *pchComponentName, std::uint32_t unComponentNameSize)=0
virtual std::uint32_t GetOverlayRenderModel(vr::VROverlayHandle_t ulOverlayHandle, char *pchValue, std::uint32_t unBufferSize, HmdColor_t *pColor, vr::EVROverlayError *pError)=0
virtual EVROverlayError DestroyOverlay(VROverlayHandle_t ulOverlayHandle)=0
virtual EVROverlayError SetOverlayTexelAspect(VROverlayHandle_t ulOverlayHandle, float fTexelAspect)=0
virtual void SetKeyboardPositionForOverlay(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)=0
virtual EVROverlayError GetOverlayFlags(VROverlayHandle_t ulOverlayHandle, std::uint32_t *pFlags)=0
virtual EVROverlayError GetOverlayInputMethod(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod)=0
virtual EVROverlayError HideOverlay(VROverlayHandle_t ulOverlayHandle)=0
virtual EVROverlayError SetOverlayIntersectionMask(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, std::uint32_t unNumMaskPrimitives, std::uint32_t unPrimitiveSize=sizeof(VROverlayIntersectionMaskPrimitive_t))=0
virtual EVROverlayError ReleaseNativeOverlayHandle(VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle)=0
virtual EVROverlayError GetOverlayTransformAbsolute(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform)=0
virtual const char * GetOverlayErrorNameFromEnum(EVROverlayError error)=0
virtual void ShowDashboard(const char *pchOverlayToShow)=0
virtual EVROverlayError SetHighQualityOverlay(VROverlayHandle_t ulOverlayHandle)=0
virtual vr::EVROverlayError GetOverlayTransformOverlayRelative(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform)=0
virtual EVROverlayError SetOverlayTextureBounds(VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds)=0
virtual bool IsDashboardVisible()=0
virtual void CloseMessageOverlay()=0
virtual EVROverlayError SetOverlayAutoCurveDistanceRangeInMeters(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)=0
virtual EVROverlayError GetOverlayFlag(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled)=0
virtual bool ComputeOverlayIntersection(VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults)=0
virtual EVROverlayError ShowKeyboardForOverlay(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, std::uint32_t unCharMax, const char *pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)=0
virtual EVROverlayError SetOverlayMouseScale(VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale)=0
virtual void SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform)=0
virtual std::uint32_t GetOverlayKey(VROverlayHandle_t ulOverlayHandle, char *pchValue, std::uint32_t unBufferSize, EVROverlayError *pError=0L)=0
virtual bool IsHoverTargetOverlay(VROverlayHandle_t ulOverlayHandle)=0
virtual vr::VROverlayHandle_t GetGamepadFocusOverlay()=0
virtual EVROverlayError SetOverlayTransformTrackedDeviceRelative(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform)=0
virtual vr::TrackedDeviceIndex_t GetPrimaryDashboardDevice()=0
virtual EVROverlayError GetOverlayDualAnalogTransform(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t *pvCenter, float *pfRadius)=0
virtual vr::EVROverlayError SetOverlayRenderModel(vr::VROverlayHandle_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor)=0
virtual EVROverlayError SetOverlayWidthInMeters(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)=0
virtual EVROverlayError SetOverlayFlag(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)=0
virtual EVROverlayError CreateDashboardOverlay(const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t *pMainHandle, VROverlayHandle_t *pThumbnailHandle)=0
virtual EVROverlayError SetOverlayTransformTrackedDeviceComponent(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName)=0
virtual EVROverlayError MoveGamepadFocusToNeighbor(EOverlayDirection eDirection, VROverlayHandle_t ulFrom)=0
virtual EVROverlayError SetOverlaySortOrder(VROverlayHandle_t ulOverlayHandle, std::uint32_t unSortOrder)=0
virtual EVROverlayError SetOverlayDualAnalogTransform(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, const HmdVector2_t &vCenter, float fRadius)=0
virtual EVROverlayError GetOverlayTexelAspect(VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect)=0
virtual EVROverlayError FindOverlay(const char *pchOverlayKey, VROverlayHandle_t *pOverlayHandle)=0
virtual EVROverlayError SetGamepadFocusOverlay(VROverlayHandle_t ulNewFocusOverlay)=0
virtual EVROverlayError GetOverlayTextureBounds(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds)=0
virtual EVROverlayError ClearOverlayTexture(VROverlayHandle_t ulOverlayHandle)=0
virtual bool IsOverlayVisible(VROverlayHandle_t ulOverlayHandle)=0
virtual EVROverlayError SetOverlayColor(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)=0
virtual EVROverlayError SetOverlayTexture(VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture)=0
virtual EVROverlayError GetOverlayAutoCurveDistanceRangeInMeters(VROverlayHandle_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters)=0
virtual EVROverlayError GetDashboardOverlaySceneProcess(VROverlayHandle_t ulOverlayHandle, std::uint32_t *punProcessId)=0
virtual VRMessageOverlayResponse ShowMessageOverlay(const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text=nullptr, const char *pchButton2Text=nullptr, const char *pchButton3Text=nullptr)=0
virtual EVROverlayError SetOverlayTransformAbsolute(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform)=0
virtual void HideKeyboard()=0
virtual EVROverlayError SetOverlayRaw(VROverlayHandle_t ulOverlayHandle, void *pvBuffer, std::uint32_t unWidth, std::uint32_t unHeight, std::uint32_t unDepth)=0
virtual EVROverlayError SetOverlayRenderingPid(VROverlayHandle_t ulOverlayHandle, std::uint32_t unPID)=0
virtual EVROverlayError SetOverlayTextureColorSpace(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)=0
virtual EVROverlayError SetOverlayFromFile(VROverlayHandle_t ulOverlayHandle, const char *pchFilePath)=0
virtual EVROverlayError SetDashboardOverlaySceneProcess(VROverlayHandle_t ulOverlayHandle, std::uint32_t unProcessId)=0
virtual EVROverlayError SetOverlayInputMethod(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)=0
virtual EVROverlayError SetOverlayAlpha(VROverlayHandle_t ulOverlayHandle, float fAlpha)=0
virtual EVROverlayError SetOverlayNeighbor(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)=0
virtual EVROverlayError GetOverlayTextureSize(VROverlayHandle_t ulOverlayHandle, std::uint32_t *pWidth, std::uint32_t *pHeight)=0
virtual EVROverlayError GetOverlaySortOrder(VROverlayHandle_t ulOverlayHandle, std::uint32_t *punSortOrder)=0
virtual EVROverlayError SetOverlayName(VROverlayHandle_t ulOverlayHandle, const char *pchName)=0
virtual EVROverlayError ShowOverlay(VROverlayHandle_t ulOverlayHandle)=0
virtual EVROverlayError GetOverlayImageData(VROverlayHandle_t ulOverlayHandle, void *pvBuffer, std::uint32_t unBufferSize, std::uint32_t *punWidth, std::uint32_t *punHeight)=0
virtual EVROverlayError GetOverlayTexture(VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, std::uint32_t *pWidth, std::uint32_t *pHeight, std::uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds)=0
virtual EVROverlayError GetOverlayColor(VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue)=0
virtual EVROverlayError GetOverlayTransformTrackedDeviceRelative(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform)=0
virtual EVROverlayError GetOverlayAlpha(VROverlayHandle_t ulOverlayHandle, float *pfAlpha)=0
virtual EVROverlayError GetTransformForOverlayCoordinates(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform)=0
virtual EVROverlayError GetOverlayWidthInMeters(VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters)=0
virtual bool PollNextOverlayEvent(VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent, std::uint32_t uncbVREvent)=0
virtual std::uint32_t GetOverlayName(VROverlayHandle_t ulOverlayHandle, char *pchValue, std::uint32_t unBufferSize, EVROverlayError *pError=0L)=0
virtual EVROverlayError GetOverlayMouseScale(VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale)=0
virtual EVROverlayError GetOverlayTextureColorSpace(VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace)=0
virtual vr::VROverlayHandle_t GetHighQualityOverlay()=0
virtual std::uint32_t GetOverlayRenderingPid(VROverlayHandle_t ulOverlayHandle)=0
virtual bool IsActiveDashboardOverlay(VROverlayHandle_t ulOverlayHandle)=0
virtual std::uint32_t GetKeyboardText(char *pchText, std::uint32_t cchText)=0
virtual EVROverlayError CreateOverlay(const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t *pOverlayHandle)=0
virtual vr::EVROverlayError SetOverlayTransformOverlayRelative(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform)=0
virtual EVROverlayError GetOverlayTransformType(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType)=0
Definition: COpenVRContext.h:4
VROverlayFlags
Definition: IVROverlay.h:39
@ VROverlayFlags_RGSS4X
Definition: IVROverlay.h:44
@ VROverlayFlags_ShowTouchPadScrollWheel
Definition: IVROverlay.h:61
@ VROverlayFlags_None
Definition: IVROverlay.h:40
@ VROverlayFlags_SortWithNonSceneOverlays
Definition: IVROverlay.h:76
@ VROverlayFlags_SideBySide_Parallel
Definition: IVROverlay.h:68
@ VROverlayFlags_SendVRScrollEvents
Definition: IVROverlay.h:56
@ VROverlayFlags_AcceptsGamepadEvents
Definition: IVROverlay.h:50
@ VROverlayFlags_Curved
Definition: IVROverlay.h:43
@ VROverlayFlags_NoDashboardTab
Definition: IVROverlay.h:47
@ VROverlayFlags_VisibleInDashboard
Definition: IVROverlay.h:79
@ VROverlayFlags_ShowGamepadFocus
Definition: IVROverlay.h:53
@ VROverlayFlags_TransferOwnershipToInternalProcess
Definition: IVROverlay.h:65
@ VROverlayFlags_Panorama
Definition: IVROverlay.h:71
@ VROverlayFlags_StereoPanorama
Definition: IVROverlay.h:72
@ VROverlayFlags_SendVRTouchpadEvents
Definition: IVROverlay.h:57
@ VROverlayFlags_SideBySide_Crossed
Definition: IVROverlay.h:69
EVROverlayIntersectionMaskPrimitiveType
Definition: IVROverlay.h:135
@ OverlayIntersectionPrimitiveType_Rectangle
Definition: IVROverlay.h:136
@ OverlayIntersectionPrimitiveType_Circle
Definition: IVROverlay.h:137
VROverlayTransformType
Definition: IVROverlay.h:30
@ VROverlayTransform_TrackedDeviceRelative
Definition: IVROverlay.h:32
@ VROverlayTransform_TrackedComponent
Definition: IVROverlay.h:34
@ VROverlayTransform_SystemOverlay
Definition: IVROverlay.h:33
@ VROverlayTransform_Absolute
Definition: IVROverlay.h:31
std::uint32_t TrackedDeviceIndex_t
Definition: OpenVRTypes.h:45
EGamepadTextInputMode
Definition: IVROverlay.h:110
@ k_EGamepadTextInputModePassword
Definition: IVROverlay.h:112
@ k_EGamepadTextInputModeSubmit
Definition: IVROverlay.h:113
@ k_EGamepadTextInputModeNormal
Definition: IVROverlay.h:111
EVROverlayError
Definition: OpenVRTypes.h:61
VROverlayInputMethod
Definition: IVROverlay.h:23
@ VROverlayInputMethod_Mouse
Definition: IVROverlay.h:25
@ VROverlayInputMethod_None
Definition: IVROverlay.h:24
std::uint64_t VROverlayHandle_t
Definition: OpenVRTypes.h:48
ETextureType
Definition: OpenVRTypes.h:22
EGamepadTextInputLineMode
Definition: IVROverlay.h:118
@ k_EGamepadTextInputLineModeSingleLine
Definition: IVROverlay.h:119
@ k_EGamepadTextInputLineModeMultipleLines
Definition: IVROverlay.h:120
static constexpr std::uint32_t k_unMaxOverlayIntersectionMaskPrimitivesCount
Definition: IVROverlay.h:19
ETrackingUniverseOrigin
Definition: OpenVRTypes.h:53
static constexpr std::uint32_t k_unVROverlayMaxKeyLength
Definition: IVROverlay.h:10
EOverlayDirection
Definition: IVROverlay.h:125
@ OverlayDirection_Down
Definition: IVROverlay.h:127
@ OverlayDirection_Right
Definition: IVROverlay.h:129
@ OverlayDirection_Left
Definition: IVROverlay.h:128
@ OverlayDirection_Count
Definition: IVROverlay.h:131
@ OverlayDirection_Up
Definition: IVROverlay.h:126
static constexpr std::uint32_t k_unMaxOverlayCount
Definition: IVROverlay.h:16
EDualAnalogWhich
Definition: VREvent.h:368
EColorSpace
Definition: OpenVRTypes.h:31
VRMessageOverlayResponse
Definition: IVROverlay.h:83
@ VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay
Definition: IVROverlay.h:89
@ VRMessageOverlayResponse_ApplicationQuit
Definition: IVROverlay.h:90
@ VRMessageOverlayResponse_ButtonPress_0
Definition: IVROverlay.h:84
@ VRMessageOverlayResponse_ButtonPress_1
Definition: IVROverlay.h:85
@ VRMessageOverlayResponse_ButtonPress_3
Definition: IVROverlay.h:87
@ VRMessageOverlayResponse_CouldntFindSystemOverlay
Definition: IVROverlay.h:88
@ VRMessageOverlayResponse_ButtonPress_2
Definition: IVROverlay.h:86
static constexpr std::uint32_t k_unVROverlayMaxNameLength
Definition: IVROverlay.h:13
Definition: IVROverlay.h:149
float m_flCenterY
Definition: IVROverlay.h:151
float m_flRadius
Definition: IVROverlay.h:152
float m_flCenterX
Definition: IVROverlay.h:150
Definition: IVROverlay.h:141
float m_flTopLeftY
Definition: IVROverlay.h:143
float m_flTopLeftX
Definition: IVROverlay.h:142
float m_flWidth
Definition: IVROverlay.h:144
float m_flHeight
Definition: IVROverlay.h:145
Definition: OpenVRTypes.h:38
Definition: VREvent.h:417
Definition: IVROverlay.h:162
VROverlayIntersectionMaskPrimitive_Data_t m_Primitive
Definition: IVROverlay.h:164
EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType
Definition: IVROverlay.h:163
Definition: IVROverlay.h:94
HmdVector3_t vDirection
Definition: IVROverlay.h:96
HmdVector3_t vSource
Definition: IVROverlay.h:95
ETrackingUniverseOrigin eOrigin
Definition: IVROverlay.h:97
Definition: IVROverlay.h:101
HmdVector3_t vPoint
Definition: IVROverlay.h:102
float fDistance
Definition: IVROverlay.h:105
HmdVector2_t vUVs
Definition: IVROverlay.h:104
HmdVector3_t vNormal
Definition: IVROverlay.h:103
Definition: OpenVRTypes.h:92
Definition: IVROverlay.h:156
IntersectionMaskCircle_t m_Circle
Definition: IVROverlay.h:158
IntersectionMaskRectangle_t m_Rectangle
Definition: IVROverlay.h:157