CVROverlay Class
Namespace: Valve.VR
Assembly: Stride.VirtualReality.dll
System.Object →
CVROverlay
Derived from CVROverlay:
Name |
Description |
Methods
|
|
ClearOverlayCursorPositionOverride(UInt64) |
|
|
ClearOverlayTexture(UInt64) |
|
|
CloseMessageOverlay() |
|
|
ComputeOverlayIntersection(UInt64, ref VROverlayIntersectionParams_t, ref VROverlayIntersectionResults_t) |
|
|
CreateDashboardOverlay(String, String, ref UInt64, ref UInt64) |
|
|
CreateOverlay(String, String, ref UInt64) |
|
|
DestroyOverlay(UInt64) |
|
|
FindOverlay(String, ref UInt64) |
|
|
GetDashboardOverlaySceneProcess(UInt64, ref UInt32) |
|
|
GetKeyboardText(StringBuilder, UInt32) |
|
|
GetOverlayAlpha(UInt64, ref Single) |
|
|
GetOverlayColor(UInt64, ref Single, ref Single, ref Single) |
|
|
GetOverlayCurvature(UInt64, ref Single) |
|
|
GetOverlayErrorNameFromEnum(EVROverlayError) |
|
|
GetOverlayFlag(UInt64, VROverlayFlags, ref Boolean) |
|
|
GetOverlayFlags(UInt64, ref UInt32) |
|
|
GetOverlayImageData(UInt64, IntPtr, UInt32, ref UInt32, ref UInt32) |
|
|
GetOverlayInputMethod(UInt64, ref VROverlayInputMethod) |
|
|
GetOverlayKey(UInt64, StringBuilder, UInt32, ref EVROverlayError) |
|
|
GetOverlayMouseScale(UInt64, ref HmdVector2_t) |
|
|
GetOverlayName(UInt64, StringBuilder, UInt32, ref EVROverlayError) |
|
|
GetOverlayRenderingPid(UInt64) |
|
|
GetOverlaySortOrder(UInt64, ref UInt32) |
|
|
GetOverlayTexelAspect(UInt64, ref Single) |
|
|
GetOverlayTexture(UInt64, ref IntPtr, IntPtr, ref UInt32, ref UInt32, ref UInt32, ref ETextureType, ref EColorSpace, ref VRTextureBounds_t) |
|
|
GetOverlayTextureBounds(UInt64, ref VRTextureBounds_t) |
|
|
GetOverlayTextureColorSpace(UInt64, ref EColorSpace) |
|
|
GetOverlayTextureSize(UInt64, ref UInt32, ref UInt32) |
|
|
GetOverlayTransformAbsolute(UInt64, ref ETrackingUniverseOrigin, ref HmdMatrix34_t) |
|
|
GetOverlayTransformCursor(UInt64, ref HmdVector2_t) |
|
|
GetOverlayTransformOverlayRelative(UInt64, ref UInt64, ref HmdMatrix34_t) |
|
|
GetOverlayTransformTrackedDeviceComponent(UInt64, ref UInt32, StringBuilder, UInt32) |
|
|
GetOverlayTransformTrackedDeviceRelative(UInt64, ref UInt32, ref HmdMatrix34_t) |
|
|
GetOverlayTransformType(UInt64, ref VROverlayTransformType) |
|
|
GetOverlayWidthInMeters(UInt64, ref Single) |
|
|
GetPrimaryDashboardDevice() |
|
|
GetTransformForOverlayCoordinates(UInt64, ETrackingUniverseOrigin, HmdVector2_t, ref HmdMatrix34_t) |
|
|
HideKeyboard() |
|
|
HideOverlay(UInt64) |
|
|
IsActiveDashboardOverlay(UInt64) |
|
|
IsDashboardVisible() |
|
|
IsHoverTargetOverlay(UInt64) |
|
|
IsOverlayVisible(UInt64) |
|
|
PollNextOverlayEvent(UInt64, ref VREvent_t, UInt32) |
|
|
ReleaseNativeOverlayHandle(UInt64, IntPtr) |
|
|
SetDashboardOverlaySceneProcess(UInt64, UInt32) |
|
|
SetKeyboardPositionForOverlay(UInt64, HmdRect2_t) |
|
|
SetKeyboardTransformAbsolute(ETrackingUniverseOrigin, ref HmdMatrix34_t) |
|
|
SetOverlayAlpha(UInt64, Single) |
|
|
SetOverlayColor(UInt64, Single, Single, Single) |
|
|
SetOverlayCursor(UInt64, UInt64) |
|
|
SetOverlayCursorPositionOverride(UInt64, ref HmdVector2_t) |
|
|
SetOverlayCurvature(UInt64, Single) |
|
|
SetOverlayFlag(UInt64, VROverlayFlags, Boolean) |
|
|
SetOverlayFromFile(UInt64, String) |
|
|
SetOverlayInputMethod(UInt64, VROverlayInputMethod) |
|
|
SetOverlayIntersectionMask(UInt64, ref VROverlayIntersectionMaskPrimitive_t, UInt32, UInt32) |
|
|
SetOverlayMouseScale(UInt64, ref HmdVector2_t) |
|
|
SetOverlayName(UInt64, String) |
|
|
SetOverlayRaw(UInt64, IntPtr, UInt32, UInt32, UInt32) |
|
|
SetOverlayRenderingPid(UInt64, UInt32) |
|
|
SetOverlaySortOrder(UInt64, UInt32) |
|
|
SetOverlayTexelAspect(UInt64, Single) |
|
|
SetOverlayTexture(UInt64, ref Texture_t) |
|
|
SetOverlayTextureBounds(UInt64, ref VRTextureBounds_t) |
|
|
SetOverlayTextureColorSpace(UInt64, EColorSpace) |
|
|
SetOverlayTransformAbsolute(UInt64, ETrackingUniverseOrigin, ref HmdMatrix34_t) |
|
|
SetOverlayTransformCursor(UInt64, ref HmdVector2_t) |
|
|
SetOverlayTransformOverlayRelative(UInt64, UInt64, ref HmdMatrix34_t) |
|
|
SetOverlayTransformTrackedDeviceComponent(UInt64, UInt32, String) |
|
|
SetOverlayTransformTrackedDeviceRelative(UInt64, UInt32, ref HmdMatrix34_t) |
|
|
SetOverlayWidthInMeters(UInt64, Single) |
|
|
ShowDashboard(String) |
|
|
ShowKeyboard(Int32, Int32, UInt32, String, UInt32, String, UInt64) |
|
|
ShowKeyboardForOverlay(UInt64, Int32, Int32, UInt32, String, UInt32, String, UInt64) |
|
|
ShowMessageOverlay(String, String, String, String, String, String) |
|
|
ShowOverlay(UInt64) |
|
|
TriggerLaserMouseHapticVibration(UInt64, Single, Single, Single) |
|
|
Improve this Doc
View Source
Methods
ClearOverlayCursorPositionOverride(UInt64)
public EVROverlayError ClearOverlayCursorPositionOverride(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
ClearOverlayTexture(UInt64)
public EVROverlayError ClearOverlayTexture(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
CloseMessageOverlay()
public void CloseMessageOverlay()
ComputeOverlayIntersection(UInt64, ref VROverlayIntersectionParams_t, ref VROverlayIntersectionResults_t)
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)
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)
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)
public EVROverlayError DestroyOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
FindOverlay(String, ref UInt64)
public EVROverlayError FindOverlay(string pchOverlayKey, ref ulong pOverlayHandle)
Parameters
Type |
Name |
Description |
System.String |
pchOverlayKey |
|
System.UInt64 |
pOverlayHandle |
|
Returns
GetDashboardOverlaySceneProcess(UInt64, ref UInt32)
public EVROverlayError GetDashboardOverlaySceneProcess(ulong ulOverlayHandle, ref uint punProcessId)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
punProcessId |
|
Returns
GetKeyboardText(StringBuilder, UInt32)
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)
public EVROverlayError GetOverlayAlpha(ulong ulOverlayHandle, ref float pfAlpha)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfAlpha |
|
Returns
GetOverlayColor(UInt64, ref Single, ref Single, ref Single)
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
GetOverlayCurvature(UInt64, ref Single)
public EVROverlayError GetOverlayCurvature(ulong ulOverlayHandle, ref float pfCurvature)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfCurvature |
|
Returns
public string GetOverlayErrorNameFromEnum(EVROverlayError error)
Parameters
Returns
Type |
Description |
System.String |
|
GetOverlayFlag(UInt64, VROverlayFlags, ref Boolean)
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)
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)
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
public EVROverlayError GetOverlayInputMethod(ulong ulOverlayHandle, ref VROverlayInputMethod peInputMethod)
Parameters
Returns
GetOverlayKey(UInt64, StringBuilder, UInt32, ref EVROverlayError)
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)
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)
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)
public uint GetOverlayRenderingPid(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.UInt32 |
|
GetOverlaySortOrder(UInt64, ref UInt32)
public EVROverlayError GetOverlaySortOrder(ulong ulOverlayHandle, ref uint punSortOrder)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
punSortOrder |
|
Returns
GetOverlayTexelAspect(UInt64, ref Single)
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)
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)
public EVROverlayError GetOverlayTextureBounds(ulong ulOverlayHandle, ref VRTextureBounds_t pOverlayTextureBounds)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VRTextureBounds_t |
pOverlayTextureBounds |
|
Returns
GetOverlayTextureColorSpace(UInt64, ref EColorSpace)
public EVROverlayError GetOverlayTextureColorSpace(ulong ulOverlayHandle, ref EColorSpace peTextureColorSpace)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
EColorSpace |
peTextureColorSpace |
|
Returns
GetOverlayTextureSize(UInt64, ref UInt32, ref UInt32)
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
public EVROverlayError GetOverlayTransformAbsolute(ulong ulOverlayHandle, ref ETrackingUniverseOrigin peTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
Parameters
Returns
public EVROverlayError GetOverlayTransformCursor(ulong ulOverlayHandle, ref HmdVector2_t pvHotspot)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdVector2_t |
pvHotspot |
|
Returns
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)
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
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
public EVROverlayError GetOverlayTransformType(ulong ulOverlayHandle, ref VROverlayTransformType peTransformType)
Parameters
Returns
GetOverlayWidthInMeters(UInt64, ref Single)
public EVROverlayError GetOverlayWidthInMeters(ulong ulOverlayHandle, ref float pfWidthInMeters)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
pfWidthInMeters |
|
Returns
GetPrimaryDashboardDevice()
public uint GetPrimaryDashboardDevice()
Returns
Type |
Description |
System.UInt32 |
|
public EVROverlayError GetTransformForOverlayCoordinates(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, ref HmdMatrix34_t pmatTransform)
Parameters
Returns
HideKeyboard()
public void HideKeyboard()
HideOverlay(UInt64)
public EVROverlayError HideOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
IsActiveDashboardOverlay(UInt64)
public bool IsActiveDashboardOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.Boolean |
|
IsDashboardVisible()
public bool IsDashboardVisible()
Returns
Type |
Description |
System.Boolean |
|
IsHoverTargetOverlay(UInt64)
public bool IsHoverTargetOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.Boolean |
|
IsOverlayVisible(UInt64)
public bool IsOverlayVisible(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
Type |
Description |
System.Boolean |
|
PollNextOverlayEvent(UInt64, ref VREvent_t, UInt32)
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)
public EVROverlayError ReleaseNativeOverlayHandle(ulong ulOverlayHandle, IntPtr pNativeTextureHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.IntPtr |
pNativeTextureHandle |
|
Returns
SetDashboardOverlaySceneProcess(UInt64, UInt32)
public EVROverlayError SetDashboardOverlaySceneProcess(ulong ulOverlayHandle, uint unProcessId)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unProcessId |
|
Returns
SetKeyboardPositionForOverlay(UInt64, HmdRect2_t)
public void SetKeyboardPositionForOverlay(ulong ulOverlayHandle, HmdRect2_t avoidRect)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdRect2_t |
avoidRect |
|
public void SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToKeyboardTransform)
Parameters
SetOverlayAlpha(UInt64, Single)
public EVROverlayError SetOverlayAlpha(ulong ulOverlayHandle, float fAlpha)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fAlpha |
|
Returns
SetOverlayColor(UInt64, Single, Single, Single)
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
SetOverlayCursor(UInt64, UInt64)
public EVROverlayError SetOverlayCursor(ulong ulOverlayHandle, ulong ulCursorHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt64 |
ulCursorHandle |
|
Returns
SetOverlayCursorPositionOverride(UInt64, ref HmdVector2_t)
public EVROverlayError SetOverlayCursorPositionOverride(ulong ulOverlayHandle, ref HmdVector2_t pvCursor)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdVector2_t |
pvCursor |
|
Returns
SetOverlayCurvature(UInt64, Single)
public EVROverlayError SetOverlayCurvature(ulong ulOverlayHandle, float fCurvature)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fCurvature |
|
Returns
SetOverlayFlag(UInt64, VROverlayFlags, Boolean)
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)
public EVROverlayError SetOverlayFromFile(ulong ulOverlayHandle, string pchFilePath)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.String |
pchFilePath |
|
Returns
public EVROverlayError SetOverlayInputMethod(ulong ulOverlayHandle, VROverlayInputMethod eInputMethod)
Parameters
Returns
SetOverlayIntersectionMask(UInt64, ref VROverlayIntersectionMaskPrimitive_t, UInt32, UInt32)
public EVROverlayError SetOverlayIntersectionMask(ulong ulOverlayHandle, ref VROverlayIntersectionMaskPrimitive_t pMaskPrimitives, uint unNumMaskPrimitives, uint unPrimitiveSize)
Parameters
Returns
SetOverlayMouseScale(UInt64, ref HmdVector2_t)
public EVROverlayError SetOverlayMouseScale(ulong ulOverlayHandle, ref HmdVector2_t pvecMouseScale)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
HmdVector2_t |
pvecMouseScale |
|
Returns
SetOverlayName(UInt64, String)
public EVROverlayError SetOverlayName(ulong ulOverlayHandle, string pchName)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.String |
pchName |
|
Returns
SetOverlayRaw(UInt64, IntPtr, UInt32, UInt32, UInt32)
public EVROverlayError SetOverlayRaw(ulong ulOverlayHandle, IntPtr pvBuffer, uint unWidth, uint unHeight, uint unBytesPerPixel)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.IntPtr |
pvBuffer |
|
System.UInt32 |
unWidth |
|
System.UInt32 |
unHeight |
|
System.UInt32 |
unBytesPerPixel |
|
Returns
SetOverlayRenderingPid(UInt64, UInt32)
public EVROverlayError SetOverlayRenderingPid(ulong ulOverlayHandle, uint unPID)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unPID |
|
Returns
SetOverlaySortOrder(UInt64, UInt32)
public EVROverlayError SetOverlaySortOrder(ulong ulOverlayHandle, uint unSortOrder)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unSortOrder |
|
Returns
SetOverlayTexelAspect(UInt64, Single)
public EVROverlayError SetOverlayTexelAspect(ulong ulOverlayHandle, float fTexelAspect)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fTexelAspect |
|
Returns
SetOverlayTexture(UInt64, ref Texture_t)
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)
public EVROverlayError SetOverlayTextureBounds(ulong ulOverlayHandle, ref VRTextureBounds_t pOverlayTextureBounds)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
VRTextureBounds_t |
pOverlayTextureBounds |
|
Returns
SetOverlayTextureColorSpace(UInt64, EColorSpace)
public EVROverlayError SetOverlayTextureColorSpace(ulong ulOverlayHandle, EColorSpace eTextureColorSpace)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
EColorSpace |
eTextureColorSpace |
|
Returns
public EVROverlayError SetOverlayTransformAbsolute(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
Parameters
Returns
public EVROverlayError SetOverlayTransformCursor(ulong ulCursorOverlayHandle, ref HmdVector2_t pvHotspot)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulCursorOverlayHandle |
|
HmdVector2_t |
pvHotspot |
|
Returns
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
public EVROverlayError SetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle, uint unDeviceIndex, string pchComponentName)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.UInt32 |
unDeviceIndex |
|
System.String |
pchComponentName |
|
Returns
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)
public EVROverlayError SetOverlayWidthInMeters(ulong ulOverlayHandle, float fWidthInMeters)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fWidthInMeters |
|
Returns
ShowDashboard(String)
public void ShowDashboard(string pchOverlayToShow)
Parameters
Type |
Name |
Description |
System.String |
pchOverlayToShow |
|
ShowKeyboard(Int32, Int32, UInt32, String, UInt32, String, UInt64)
public EVROverlayError ShowKeyboard(int eInputMode, int eLineInputMode, uint unFlags, string pchDescription, uint unCharMax, string pchExistingText, ulong uUserValue)
Parameters
Type |
Name |
Description |
System.Int32 |
eInputMode |
|
System.Int32 |
eLineInputMode |
|
System.UInt32 |
unFlags |
|
System.String |
pchDescription |
|
System.UInt32 |
unCharMax |
|
System.String |
pchExistingText |
|
System.UInt64 |
uUserValue |
|
Returns
ShowKeyboardForOverlay(UInt64, Int32, Int32, UInt32, String, UInt32, String, UInt64)
public EVROverlayError ShowKeyboardForOverlay(ulong ulOverlayHandle, int eInputMode, int eLineInputMode, uint unFlags, string pchDescription, uint unCharMax, string pchExistingText, ulong uUserValue)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Int32 |
eInputMode |
|
System.Int32 |
eLineInputMode |
|
System.UInt32 |
unFlags |
|
System.String |
pchDescription |
|
System.UInt32 |
unCharMax |
|
System.String |
pchExistingText |
|
System.UInt64 |
uUserValue |
|
Returns
ShowMessageOverlay(String, String, String, String, String, String)
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)
public EVROverlayError ShowOverlay(ulong ulOverlayHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
Returns
TriggerLaserMouseHapticVibration(UInt64, Single, Single, Single)
public EVROverlayError TriggerLaserMouseHapticVibration(ulong ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude)
Parameters
Type |
Name |
Description |
System.UInt64 |
ulOverlayHandle |
|
System.Single |
fDurationSeconds |
|
System.Single |
fFrequency |
|
System.Single |
fAmplitude |
|
Returns
Extension Methods