Class CVROverlay
Inheritance
System.Object
CVROverlay
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Assembly-CSharp.dll
Syntax
Methods
ClearOverlayTexture(UInt64)
Declaration
public EVROverlayError ClearOverlayTexture(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
CloseMessageOverlay()
Declaration
public void CloseMessageOverlay()
ComputeOverlayIntersection(UInt64, ref VROverlayIntersectionParams_t, ref VROverlayIntersectionResults_t)
Declaration
public bool ComputeOverlayIntersection(ulong ulOverlayHandle, ref VROverlayIntersectionParams_t pParams, ref VROverlayIntersectionResults_t pResults)
Parameters
Returns
Type |
Description |
System.Boolean |
|
CreateDashboardOverlay(String, String, ref UInt64, ref UInt64)
Declaration
public EVROverlayError CreateDashboardOverlay(string pchOverlayKey, string pchOverlayFriendlyName, ref ulong pMainHandle, ref ulong pThumbnailHandle)
Parameters
Type |
Name |
Description |
System.String |
pchOverlayKey |
|
System.String |
pchOverlayFriendlyName |
|
System.UInt64 |
pMainHandle |
|
System.UInt64 |
pThumbnailHandle |
|
Returns
CreateOverlay(String, String, ref UInt64)
Declaration
public EVROverlayError CreateOverlay(string pchOverlayKey, string pchOverlayName, ref ulong pOverlayHandle)
Parameters
Type |
Name |
Description |
System.String |
pchOverlayKey |
|
System.String |
pchOverlayName |
|
System.UInt64 |
pOverlayHandle |
|
Returns
DestroyOverlay(UInt64)
Declaration
public EVROverlayError DestroyOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
FindOverlay(String, ref UInt64)
Declaration
public EVROverlayError FindOverlay(string pchOverlayKey, ref ulong pOverlayHandle)
Parameters
Type |
Name |
Description |
System.String |
pchOverlayKey |
|
System.UInt64 |
pOverlayHandle |
|
Returns
GetDashboardOverlaySceneProcess(UInt64, ref UInt32)
Declaration
public EVROverlayError GetDashboardOverlaySceneProcess(ulong ulOverlayHandle, ref uint punProcessId)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
punProcessId |
|
Returns
GetGamepadFocusOverlay()
Declaration
public ulong GetGamepadFocusOverlay()
Returns
Type |
Description |
System.UInt64 |
|
GetHighQualityOverlay()
Declaration
public ulong GetHighQualityOverlay()
Returns
Type |
Description |
System.UInt64 |
|
GetKeyboardText(StringBuilder, UInt32)
Declaration
public uint GetKeyboardText(StringBuilder pchText, uint cchText)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
pchText |
|
System.UInt32 |
cchText |
|
Returns
Type |
Description |
System.UInt32 |
|
GetOverlayAlpha(UInt64, ref Single)
Declaration
public EVROverlayError GetOverlayAlpha(ulong ulOverlayHandle, ref float pfAlpha)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfAlpha |
|
Returns
GetOverlayAutoCurveDistanceRangeInMeters(UInt64, ref Single, ref Single)
Declaration
public EVROverlayError GetOverlayAutoCurveDistanceRangeInMeters(ulong ulOverlayHandle, ref float pfMinDistanceInMeters, ref float pfMaxDistanceInMeters)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfMinDistanceInMeters |
|
System.Single |
pfMaxDistanceInMeters |
|
Returns
GetOverlayColor(UInt64, ref Single, ref Single, ref Single)
Declaration
public EVROverlayError GetOverlayColor(ulong ulOverlayHandle, ref float pfRed, ref float pfGreen, ref float pfBlue)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfRed |
|
System.Single |
pfGreen |
|
System.Single |
pfBlue |
|
Returns
Declaration
public EVROverlayError GetOverlayDualAnalogTransform(ulong ulOverlay, EDualAnalogWhich eWhich, ref HmdVector2_t pvCenter, ref float pfRadius)
Parameters
Returns
Declaration
public string GetOverlayErrorNameFromEnum(EVROverlayError error)
Parameters
Returns
Type |
Description |
System.String |
|
GetOverlayFlag(UInt64, VROverlayFlags, ref Boolean)
Declaration
public EVROverlayError GetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, ref bool pbEnabled)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VROverlayFlags |
eOverlayFlag |
|
System.Boolean |
pbEnabled |
|
Returns
GetOverlayFlags(UInt64, ref UInt32)
Declaration
public EVROverlayError GetOverlayFlags(ulong ulOverlayHandle, ref uint pFlags)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
pFlags |
|
Returns
GetOverlayImageData(UInt64, IntPtr, UInt32, ref UInt32, ref UInt32)
Declaration
public EVROverlayError GetOverlayImageData(ulong ulOverlayHandle, IntPtr pvBuffer, uint unBufferSize, ref uint punWidth, ref uint punHeight)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.IntPtr |
pvBuffer |
|
System.UInt32 |
unBufferSize |
|
System.UInt32 |
punWidth |
|
System.UInt32 |
punHeight |
|
Returns
Declaration
public EVROverlayError GetOverlayInputMethod(ulong ulOverlayHandle, ref VROverlayInputMethod peInputMethod)
Parameters
Returns
GetOverlayKey(UInt64, StringBuilder, UInt32, ref EVROverlayError)
Declaration
public uint GetOverlayKey(ulong ulOverlayHandle, StringBuilder pchValue, uint unBufferSize, ref EVROverlayError pError)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Text.StringBuilder |
pchValue |
|
System.UInt32 |
unBufferSize |
|
EVROverlayError |
pError |
|
Returns
Type |
Description |
System.UInt32 |
|
GetOverlayMouseScale(UInt64, ref HmdVector2_t)
Declaration
public EVROverlayError GetOverlayMouseScale(ulong ulOverlayHandle, ref HmdVector2_t pvecMouseScale)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdVector2_t |
pvecMouseScale |
|
Returns
GetOverlayName(UInt64, StringBuilder, UInt32, ref EVROverlayError)
Declaration
public uint GetOverlayName(ulong ulOverlayHandle, StringBuilder pchValue, uint unBufferSize, ref EVROverlayError pError)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Text.StringBuilder |
pchValue |
|
System.UInt32 |
unBufferSize |
|
EVROverlayError |
pError |
|
Returns
Type |
Description |
System.UInt32 |
|
GetOverlayRenderingPid(UInt64)
Declaration
public uint GetOverlayRenderingPid(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.UInt32 |
|
GetOverlayRenderModel(UInt64, StringBuilder, UInt32, ref HmdColor_t, ref EVROverlayError)
Declaration
public uint GetOverlayRenderModel(ulong ulOverlayHandle, StringBuilder pchValue, uint unBufferSize, ref HmdColor_t pColor, ref EVROverlayError pError)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Text.StringBuilder |
pchValue |
|
System.UInt32 |
unBufferSize |
|
HmdColor_t |
pColor |
|
EVROverlayError |
pError |
|
Returns
Type |
Description |
System.UInt32 |
|
GetOverlaySortOrder(UInt64, ref UInt32)
Declaration
public EVROverlayError GetOverlaySortOrder(ulong ulOverlayHandle, ref uint punSortOrder)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
punSortOrder |
|
Returns
GetOverlayTexelAspect(UInt64, ref Single)
Declaration
public EVROverlayError GetOverlayTexelAspect(ulong ulOverlayHandle, ref float pfTexelAspect)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfTexelAspect |
|
Returns
GetOverlayTexture(UInt64, ref IntPtr, IntPtr, ref UInt32, ref UInt32, ref UInt32, ref ETextureType, ref EColorSpace, ref VRTextureBounds_t)
Declaration
public EVROverlayError GetOverlayTexture(ulong ulOverlayHandle, ref IntPtr pNativeTextureHandle, IntPtr pNativeTextureRef, ref uint pWidth, ref uint pHeight, ref uint pNativeFormat, ref ETextureType pAPIType, ref EColorSpace pColorSpace, ref VRTextureBounds_t pTextureBounds)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.IntPtr |
pNativeTextureHandle |
|
System.IntPtr |
pNativeTextureRef |
|
System.UInt32 |
pWidth |
|
System.UInt32 |
pHeight |
|
System.UInt32 |
pNativeFormat |
|
ETextureType |
pAPIType |
|
EColorSpace |
pColorSpace |
|
VRTextureBounds_t |
pTextureBounds |
|
Returns
GetOverlayTextureBounds(UInt64, ref VRTextureBounds_t)
Declaration
public EVROverlayError GetOverlayTextureBounds(ulong ulOverlayHandle, ref VRTextureBounds_t pOverlayTextureBounds)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VRTextureBounds_t |
pOverlayTextureBounds |
|
Returns
GetOverlayTextureColorSpace(UInt64, ref EColorSpace)
Declaration
public EVROverlayError GetOverlayTextureColorSpace(ulong ulOverlayHandle, ref EColorSpace peTextureColorSpace)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
EColorSpace |
peTextureColorSpace |
|
Returns
GetOverlayTextureSize(UInt64, ref UInt32, ref UInt32)
Declaration
public EVROverlayError GetOverlayTextureSize(ulong ulOverlayHandle, ref uint pWidth, ref uint pHeight)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
pWidth |
|
System.UInt32 |
pHeight |
|
Returns
Declaration
public EVROverlayError GetOverlayTransformAbsolute(ulong ulOverlayHandle, ref ETrackingUniverseOrigin peTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
Parameters
Returns
Declaration
public EVROverlayError GetOverlayTransformOverlayRelative(ulong ulOverlayHandle, ref ulong ulOverlayHandleParent, ref HmdMatrix34_t pmatParentOverlayToOverlayTransform)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt64 |
ulOverlayHandleParent |
|
HmdMatrix34_t |
pmatParentOverlayToOverlayTransform |
|
Returns
GetOverlayTransformTrackedDeviceComponent(UInt64, ref UInt32, StringBuilder, UInt32)
Declaration
public EVROverlayError GetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle, ref uint punDeviceIndex, StringBuilder pchComponentName, uint unComponentNameSize)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
punDeviceIndex |
|
System.Text.StringBuilder |
pchComponentName |
|
System.UInt32 |
unComponentNameSize |
|
Returns
Declaration
public EVROverlayError GetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle, ref uint punTrackedDevice, ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
punTrackedDevice |
|
HmdMatrix34_t |
pmatTrackedDeviceToOverlayTransform |
|
Returns
Declaration
public EVROverlayError GetOverlayTransformType(ulong ulOverlayHandle, ref VROverlayTransformType peTransformType)
Parameters
Returns
GetOverlayWidthInMeters(UInt64, ref Single)
Declaration
public EVROverlayError GetOverlayWidthInMeters(ulong ulOverlayHandle, ref float pfWidthInMeters)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfWidthInMeters |
|
Returns
GetPrimaryDashboardDevice()
Declaration
public uint GetPrimaryDashboardDevice()
Returns
Type |
Description |
System.UInt32 |
|
Declaration
public EVROverlayError GetTransformForOverlayCoordinates(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, ref HmdMatrix34_t pmatTransform)
Parameters
Returns
HideKeyboard()
Declaration
public void HideKeyboard()
HideOverlay(UInt64)
Declaration
public EVROverlayError HideOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
IsActiveDashboardOverlay(UInt64)
Declaration
public bool IsActiveDashboardOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.Boolean |
|
IsDashboardVisible()
Declaration
public bool IsDashboardVisible()
Returns
Type |
Description |
System.Boolean |
|
IsHoverTargetOverlay(UInt64)
Declaration
public bool IsHoverTargetOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.Boolean |
|
IsOverlayVisible(UInt64)
Declaration
public bool IsOverlayVisible(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.Boolean |
|
MoveGamepadFocusToNeighbor(EOverlayDirection, UInt64)
Declaration
public EVROverlayError MoveGamepadFocusToNeighbor(EOverlayDirection eDirection, ulong ulFrom)
Parameters
Returns
PollNextOverlayEvent(UInt64, ref VREvent_t, UInt32)
Declaration
public bool PollNextOverlayEvent(ulong ulOverlayHandle, ref VREvent_t pEvent, uint uncbVREvent)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VREvent_t |
pEvent |
|
System.UInt32 |
uncbVREvent |
|
Returns
Type |
Description |
System.Boolean |
|
ReleaseNativeOverlayHandle(UInt64, IntPtr)
Declaration
public EVROverlayError ReleaseNativeOverlayHandle(ulong ulOverlayHandle, IntPtr pNativeTextureHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.IntPtr |
pNativeTextureHandle |
|
Returns
SetDashboardOverlaySceneProcess(UInt64, UInt32)
Declaration
public EVROverlayError SetDashboardOverlaySceneProcess(ulong ulOverlayHandle, uint unProcessId)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unProcessId |
|
Returns
SetGamepadFocusOverlay(UInt64)
Declaration
public EVROverlayError SetGamepadFocusOverlay(ulong ulNewFocusOverlay)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulNewFocusOverlay |
|
Returns
SetHighQualityOverlay(UInt64)
Declaration
public EVROverlayError SetHighQualityOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
SetKeyboardPositionForOverlay(UInt64, HmdRect2_t)
Declaration
public void SetKeyboardPositionForOverlay(ulong ulOverlayHandle, HmdRect2_t avoidRect)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdRect2_t |
avoidRect |
|
Declaration
public void SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToKeyboardTransform)
Parameters
SetOverlayAlpha(UInt64, Single)
Declaration
public EVROverlayError SetOverlayAlpha(ulong ulOverlayHandle, float fAlpha)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fAlpha |
|
Returns
SetOverlayAutoCurveDistanceRangeInMeters(UInt64, Single, Single)
Declaration
public EVROverlayError SetOverlayAutoCurveDistanceRangeInMeters(ulong ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fMinDistanceInMeters |
|
System.Single |
fMaxDistanceInMeters |
|
Returns
SetOverlayColor(UInt64, Single, Single, Single)
Declaration
public EVROverlayError SetOverlayColor(ulong ulOverlayHandle, float fRed, float fGreen, float fBlue)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fRed |
|
System.Single |
fGreen |
|
System.Single |
fBlue |
|
Returns
Declaration
public EVROverlayError SetOverlayDualAnalogTransform(ulong ulOverlay, EDualAnalogWhich eWhich, ref HmdVector2_t pvCenter, float fRadius)
Parameters
Returns
SetOverlayFlag(UInt64, VROverlayFlags, Boolean)
Declaration
public EVROverlayError SetOverlayFlag(ulong ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VROverlayFlags |
eOverlayFlag |
|
System.Boolean |
bEnabled |
|
Returns
SetOverlayFromFile(UInt64, String)
Declaration
public EVROverlayError SetOverlayFromFile(ulong ulOverlayHandle, string pchFilePath)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.String |
pchFilePath |
|
Returns
Declaration
public EVROverlayError SetOverlayInputMethod(ulong ulOverlayHandle, VROverlayInputMethod eInputMethod)
Parameters
Returns
SetOverlayIntersectionMask(UInt64, ref VROverlayIntersectionMaskPrimitive_t, UInt32, UInt32)
Declaration
public EVROverlayError SetOverlayIntersectionMask(ulong ulOverlayHandle, ref VROverlayIntersectionMaskPrimitive_t pMaskPrimitives, uint unNumMaskPrimitives, uint unPrimitiveSize)
Parameters
Returns
SetOverlayMouseScale(UInt64, ref HmdVector2_t)
Declaration
public EVROverlayError SetOverlayMouseScale(ulong ulOverlayHandle, ref HmdVector2_t pvecMouseScale)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdVector2_t |
pvecMouseScale |
|
Returns
SetOverlayName(UInt64, String)
Declaration
public EVROverlayError SetOverlayName(ulong ulOverlayHandle, string pchName)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.String |
pchName |
|
Returns
SetOverlayNeighbor(EOverlayDirection, UInt64, UInt64)
Declaration
public EVROverlayError SetOverlayNeighbor(EOverlayDirection eDirection, ulong ulFrom, ulong ulTo)
Parameters
Type |
Name |
Description |
EOverlayDirection |
eDirection |
|
System.UInt64 |
ulFrom |
|
System.UInt64 |
ulTo |
|
Returns
SetOverlayRaw(UInt64, IntPtr, UInt32, UInt32, UInt32)
Declaration
public EVROverlayError SetOverlayRaw(ulong ulOverlayHandle, IntPtr pvBuffer, uint unWidth, uint unHeight, uint unDepth)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.IntPtr |
pvBuffer |
|
System.UInt32 |
unWidth |
|
System.UInt32 |
unHeight |
|
System.UInt32 |
unDepth |
|
Returns
SetOverlayRenderingPid(UInt64, UInt32)
Declaration
public EVROverlayError SetOverlayRenderingPid(ulong ulOverlayHandle, uint unPID)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unPID |
|
Returns
SetOverlayRenderModel(UInt64, String, ref HmdColor_t)
Declaration
public EVROverlayError SetOverlayRenderModel(ulong ulOverlayHandle, string pchRenderModel, ref HmdColor_t pColor)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.String |
pchRenderModel |
|
HmdColor_t |
pColor |
|
Returns
SetOverlaySortOrder(UInt64, UInt32)
Declaration
public EVROverlayError SetOverlaySortOrder(ulong ulOverlayHandle, uint unSortOrder)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unSortOrder |
|
Returns
SetOverlayTexelAspect(UInt64, Single)
Declaration
public EVROverlayError SetOverlayTexelAspect(ulong ulOverlayHandle, float fTexelAspect)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fTexelAspect |
|
Returns
SetOverlayTexture(UInt64, ref Texture_t)
Declaration
public EVROverlayError SetOverlayTexture(ulong ulOverlayHandle, ref Texture_t pTexture)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Texture_t |
pTexture |
|
Returns
SetOverlayTextureBounds(UInt64, ref VRTextureBounds_t)
Declaration
public EVROverlayError SetOverlayTextureBounds(ulong ulOverlayHandle, ref VRTextureBounds_t pOverlayTextureBounds)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VRTextureBounds_t |
pOverlayTextureBounds |
|
Returns
SetOverlayTextureColorSpace(UInt64, EColorSpace)
Declaration
public EVROverlayError SetOverlayTextureColorSpace(ulong ulOverlayHandle, EColorSpace eTextureColorSpace)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
EColorSpace |
eTextureColorSpace |
|
Returns
Declaration
public EVROverlayError SetOverlayTransformAbsolute(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
Parameters
Returns
Declaration
public EVROverlayError SetOverlayTransformOverlayRelative(ulong ulOverlayHandle, ulong ulOverlayHandleParent, ref HmdMatrix34_t pmatParentOverlayToOverlayTransform)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt64 |
ulOverlayHandleParent |
|
HmdMatrix34_t |
pmatParentOverlayToOverlayTransform |
|
Returns
Declaration
public EVROverlayError SetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle, uint unDeviceIndex, string pchComponentName)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unDeviceIndex |
|
System.String |
pchComponentName |
|
Returns
Declaration
public EVROverlayError SetOverlayTransformTrackedDeviceRelative(ulong ulOverlayHandle, uint unTrackedDevice, ref HmdMatrix34_t pmatTrackedDeviceToOverlayTransform)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unTrackedDevice |
|
HmdMatrix34_t |
pmatTrackedDeviceToOverlayTransform |
|
Returns
SetOverlayWidthInMeters(UInt64, Single)
Declaration
public EVROverlayError SetOverlayWidthInMeters(ulong ulOverlayHandle, float fWidthInMeters)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fWidthInMeters |
|
Returns
ShowDashboard(String)
Declaration
public void ShowDashboard(string pchOverlayToShow)
Parameters
Type |
Name |
Description |
System.String |
pchOverlayToShow |
|
ShowKeyboard(Int32, Int32, String, UInt32, String, Boolean, UInt64)
Declaration
public EVROverlayError ShowKeyboard(int eInputMode, int eLineInputMode, string pchDescription, uint unCharMax, string pchExistingText, bool bUseMinimalMode, ulong uUserValue)
Parameters
Type |
Name |
Description |
System.Int32 |
eInputMode |
|
System.Int32 |
eLineInputMode |
|
System.String |
pchDescription |
|
System.UInt32 |
unCharMax |
|
System.String |
pchExistingText |
|
System.Boolean |
bUseMinimalMode |
|
System.UInt64 |
uUserValue |
|
Returns
ShowKeyboardForOverlay(UInt64, Int32, Int32, String, UInt32, String, Boolean, UInt64)
Declaration
public EVROverlayError ShowKeyboardForOverlay(ulong ulOverlayHandle, int eInputMode, int eLineInputMode, string pchDescription, uint unCharMax, string pchExistingText, bool bUseMinimalMode, ulong uUserValue)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Int32 |
eInputMode |
|
System.Int32 |
eLineInputMode |
|
System.String |
pchDescription |
|
System.UInt32 |
unCharMax |
|
System.String |
pchExistingText |
|
System.Boolean |
bUseMinimalMode |
|
System.UInt64 |
uUserValue |
|
Returns
ShowMessageOverlay(String, String, String, String, String, String)
Declaration
public VRMessageOverlayResponse ShowMessageOverlay(string pchText, string pchCaption, string pchButton0Text, string pchButton1Text, string pchButton2Text, string pchButton3Text)
Parameters
Type |
Name |
Description |
System.String |
pchText |
|
System.String |
pchCaption |
|
System.String |
pchButton0Text |
|
System.String |
pchButton1Text |
|
System.String |
pchButton2Text |
|
System.String |
pchButton3Text |
|
Returns
ShowOverlay(UInt64)
Declaration
public EVROverlayError ShowOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns