Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    CVROverlay Class

    Namespace: Valve.VR
    Assembly: Stride.VirtualReality.dll
    System.Object → CVROverlay
    Derived from CVROverlay:

    public class 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
    Type Description
    EVROverlayError

    ClearOverlayTexture(UInt64)

    public EVROverlayError ClearOverlayTexture(ulong ulOverlayHandle)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    Returns
    Type Description
    EVROverlayError

    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
    Type Name Description
    System.UInt64 ulOverlayHandle
    VROverlayIntersectionParams_t pParams
    VROverlayIntersectionResults_t pResults
    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    DestroyOverlay(UInt64)

    public EVROverlayError DestroyOverlay(ulong ulOverlayHandle)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    Returns
    Type Description
    EVROverlayError

    FindOverlay(String, ref UInt64)

    public EVROverlayError FindOverlay(string pchOverlayKey, ref ulong pOverlayHandle)
    Parameters
    Type Name Description
    System.String pchOverlayKey
    System.UInt64 pOverlayHandle
    Returns
    Type Description
    EVROverlayError

    GetDashboardOverlaySceneProcess(UInt64, ref UInt32)

    public EVROverlayError GetDashboardOverlaySceneProcess(ulong ulOverlayHandle, ref uint punProcessId)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt32 punProcessId
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    GetOverlayCurvature(UInt64, ref Single)

    public EVROverlayError GetOverlayCurvature(ulong ulOverlayHandle, ref float pfCurvature)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single pfCurvature
    Returns
    Type Description
    EVROverlayError

    GetOverlayErrorNameFromEnum(EVROverlayError)

    public string GetOverlayErrorNameFromEnum(EVROverlayError error)
    Parameters
    Type Name Description
    EVROverlayError error
    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
    Type Description
    EVROverlayError

    GetOverlayFlags(UInt64, ref UInt32)

    public EVROverlayError GetOverlayFlags(ulong ulOverlayHandle, ref uint pFlags)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt32 pFlags
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    GetOverlayInputMethod(UInt64, ref VROverlayInputMethod)

    public EVROverlayError GetOverlayInputMethod(ulong ulOverlayHandle, ref VROverlayInputMethod peInputMethod)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    VROverlayInputMethod peInputMethod
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    GetOverlayTexelAspect(UInt64, ref Single)

    public EVROverlayError GetOverlayTexelAspect(ulong ulOverlayHandle, ref float pfTexelAspect)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single pfTexelAspect
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    GetOverlayTextureColorSpace(UInt64, ref EColorSpace)

    public EVROverlayError GetOverlayTextureColorSpace(ulong ulOverlayHandle, ref EColorSpace peTextureColorSpace)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    EColorSpace peTextureColorSpace
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    GetOverlayTransformAbsolute(UInt64, ref ETrackingUniverseOrigin, ref HmdMatrix34_t)

    public EVROverlayError GetOverlayTransformAbsolute(ulong ulOverlayHandle, ref ETrackingUniverseOrigin peTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    ETrackingUniverseOrigin peTrackingOrigin
    HmdMatrix34_t pmatTrackingOriginToOverlayTransform
    Returns
    Type Description
    EVROverlayError

    GetOverlayTransformCursor(UInt64, ref HmdVector2_t)

    public EVROverlayError GetOverlayTransformCursor(ulong ulOverlayHandle, ref HmdVector2_t pvHotspot)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    HmdVector2_t pvHotspot
    Returns
    Type Description
    EVROverlayError

    GetOverlayTransformOverlayRelative(UInt64, ref UInt64, ref HmdMatrix34_t)

    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    GetOverlayTransformTrackedDeviceRelative(UInt64, ref UInt32, ref HmdMatrix34_t)

    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
    Type Description
    EVROverlayError

    GetOverlayTransformType(UInt64, ref VROverlayTransformType)

    public EVROverlayError GetOverlayTransformType(ulong ulOverlayHandle, ref VROverlayTransformType peTransformType)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    VROverlayTransformType peTransformType
    Returns
    Type Description
    EVROverlayError

    GetOverlayWidthInMeters(UInt64, ref Single)

    public EVROverlayError GetOverlayWidthInMeters(ulong ulOverlayHandle, ref float pfWidthInMeters)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single pfWidthInMeters
    Returns
    Type Description
    EVROverlayError

    GetPrimaryDashboardDevice()

    public uint GetPrimaryDashboardDevice()
    Returns
    Type Description
    System.UInt32

    GetTransformForOverlayCoordinates(UInt64, ETrackingUniverseOrigin, HmdVector2_t, ref HmdMatrix34_t)

    public EVROverlayError GetTransformForOverlayCoordinates(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, ref HmdMatrix34_t pmatTransform)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    ETrackingUniverseOrigin eTrackingOrigin
    HmdVector2_t coordinatesInOverlay
    HmdMatrix34_t pmatTransform
    Returns
    Type Description
    EVROverlayError

    HideKeyboard()

    public void HideKeyboard()

    HideOverlay(UInt64)

    public EVROverlayError HideOverlay(ulong ulOverlayHandle)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetDashboardOverlaySceneProcess(UInt64, UInt32)

    public EVROverlayError SetDashboardOverlaySceneProcess(ulong ulOverlayHandle, uint unProcessId)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt32 unProcessId
    Returns
    Type Description
    EVROverlayError

    SetKeyboardPositionForOverlay(UInt64, HmdRect2_t)

    public void SetKeyboardPositionForOverlay(ulong ulOverlayHandle, HmdRect2_t avoidRect)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    HmdRect2_t avoidRect

    SetKeyboardTransformAbsolute(ETrackingUniverseOrigin, ref HmdMatrix34_t)

    public void SetKeyboardTransformAbsolute(ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToKeyboardTransform)
    Parameters
    Type Name Description
    ETrackingUniverseOrigin eTrackingOrigin
    HmdMatrix34_t pmatTrackingOriginToKeyboardTransform

    SetOverlayAlpha(UInt64, Single)

    public EVROverlayError SetOverlayAlpha(ulong ulOverlayHandle, float fAlpha)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single fAlpha
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetOverlayCursor(UInt64, UInt64)

    public EVROverlayError SetOverlayCursor(ulong ulOverlayHandle, ulong ulCursorHandle)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt64 ulCursorHandle
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetOverlayCurvature(UInt64, Single)

    public EVROverlayError SetOverlayCurvature(ulong ulOverlayHandle, float fCurvature)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single fCurvature
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetOverlayFromFile(UInt64, String)

    public EVROverlayError SetOverlayFromFile(ulong ulOverlayHandle, string pchFilePath)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.String pchFilePath
    Returns
    Type Description
    EVROverlayError

    SetOverlayInputMethod(UInt64, VROverlayInputMethod)

    public EVROverlayError SetOverlayInputMethod(ulong ulOverlayHandle, VROverlayInputMethod eInputMethod)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    VROverlayInputMethod eInputMethod
    Returns
    Type Description
    EVROverlayError

    SetOverlayIntersectionMask(UInt64, ref VROverlayIntersectionMaskPrimitive_t, UInt32, UInt32)

    public EVROverlayError SetOverlayIntersectionMask(ulong ulOverlayHandle, ref VROverlayIntersectionMaskPrimitive_t pMaskPrimitives, uint unNumMaskPrimitives, uint unPrimitiveSize)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    VROverlayIntersectionMaskPrimitive_t pMaskPrimitives
    System.UInt32 unNumMaskPrimitives
    System.UInt32 unPrimitiveSize
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetOverlayName(UInt64, String)

    public EVROverlayError SetOverlayName(ulong ulOverlayHandle, string pchName)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.String pchName
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetOverlayRenderingPid(UInt64, UInt32)

    public EVROverlayError SetOverlayRenderingPid(ulong ulOverlayHandle, uint unPID)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt32 unPID
    Returns
    Type Description
    EVROverlayError

    SetOverlaySortOrder(UInt64, UInt32)

    public EVROverlayError SetOverlaySortOrder(ulong ulOverlayHandle, uint unSortOrder)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt32 unSortOrder
    Returns
    Type Description
    EVROverlayError

    SetOverlayTexelAspect(UInt64, Single)

    public EVROverlayError SetOverlayTexelAspect(ulong ulOverlayHandle, float fTexelAspect)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single fTexelAspect
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    SetOverlayTextureColorSpace(UInt64, EColorSpace)

    public EVROverlayError SetOverlayTextureColorSpace(ulong ulOverlayHandle, EColorSpace eTextureColorSpace)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    EColorSpace eTextureColorSpace
    Returns
    Type Description
    EVROverlayError

    SetOverlayTransformAbsolute(UInt64, ETrackingUniverseOrigin, ref HmdMatrix34_t)

    public EVROverlayError SetOverlayTransformAbsolute(ulong ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, ref HmdMatrix34_t pmatTrackingOriginToOverlayTransform)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    ETrackingUniverseOrigin eTrackingOrigin
    HmdMatrix34_t pmatTrackingOriginToOverlayTransform
    Returns
    Type Description
    EVROverlayError

    SetOverlayTransformCursor(UInt64, ref HmdVector2_t)

    public EVROverlayError SetOverlayTransformCursor(ulong ulCursorOverlayHandle, ref HmdVector2_t pvHotspot)
    Parameters
    Type Name Description
    System.UInt64 ulCursorOverlayHandle
    HmdVector2_t pvHotspot
    Returns
    Type Description
    EVROverlayError

    SetOverlayTransformOverlayRelative(UInt64, UInt64, ref HmdMatrix34_t)

    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
    Type Description
    EVROverlayError

    SetOverlayTransformTrackedDeviceComponent(UInt64, UInt32, String)

    public EVROverlayError SetOverlayTransformTrackedDeviceComponent(ulong ulOverlayHandle, uint unDeviceIndex, string pchComponentName)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.UInt32 unDeviceIndex
    System.String pchComponentName
    Returns
    Type Description
    EVROverlayError

    SetOverlayTransformTrackedDeviceRelative(UInt64, UInt32, ref HmdMatrix34_t)

    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
    Type Description
    EVROverlayError

    SetOverlayWidthInMeters(UInt64, Single)

    public EVROverlayError SetOverlayWidthInMeters(ulong ulOverlayHandle, float fWidthInMeters)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    System.Single fWidthInMeters
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    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
    Type Description
    VRMessageOverlayResponse

    ShowOverlay(UInt64)

    public EVROverlayError ShowOverlay(ulong ulOverlayHandle)
    Parameters
    Type Name Description
    System.UInt64 ulOverlayHandle
    Returns
    Type Description
    EVROverlayError

    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
    Type Description
    EVROverlayError

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation