Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CVRScreenshots Class

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

    public class CVRScreenshots
    Name Description
    Methods
    GetScreenshotPropertyFilename(UInt32, EVRScreenshotPropertyFilenames, StringBuilder, UInt32, ref EVRScreenshotError)
    GetScreenshotPropertyType(UInt32, ref EVRScreenshotError)
    HookScreenshot(EVRScreenshotType[])
    RequestScreenshot(ref UInt32, EVRScreenshotType, String, String)
    SubmitScreenshot(UInt32, EVRScreenshotType, String, String)
    TakeStereoScreenshot(ref UInt32, String, String)
    UpdateScreenshotProgress(UInt32, Single)
    | Improve this Doc View Source

    Methods


    GetScreenshotPropertyFilename(UInt32, EVRScreenshotPropertyFilenames, StringBuilder, UInt32, ref EVRScreenshotError)

    public uint GetScreenshotPropertyFilename(uint screenshotHandle, EVRScreenshotPropertyFilenames filenameType, StringBuilder pchFilename, uint cchFilename, ref EVRScreenshotError pError)
    Parameters
    Type Name Description
    System.UInt32 screenshotHandle
    EVRScreenshotPropertyFilenames filenameType
    System.Text.StringBuilder pchFilename
    System.UInt32 cchFilename
    EVRScreenshotError pError
    Returns
    Type Description
    System.UInt32

    GetScreenshotPropertyType(UInt32, ref EVRScreenshotError)

    public EVRScreenshotType GetScreenshotPropertyType(uint screenshotHandle, ref EVRScreenshotError pError)
    Parameters
    Type Name Description
    System.UInt32 screenshotHandle
    EVRScreenshotError pError
    Returns
    Type Description
    EVRScreenshotType

    HookScreenshot(EVRScreenshotType[])

    public EVRScreenshotError HookScreenshot(EVRScreenshotType[] pSupportedTypes)
    Parameters
    Type Name Description
    EVRScreenshotType[] pSupportedTypes
    Returns
    Type Description
    EVRScreenshotError

    RequestScreenshot(ref UInt32, EVRScreenshotType, String, String)

    public EVRScreenshotError RequestScreenshot(ref uint pOutScreenshotHandle, EVRScreenshotType type, string pchPreviewFilename, string pchVRFilename)
    Parameters
    Type Name Description
    System.UInt32 pOutScreenshotHandle
    EVRScreenshotType type
    System.String pchPreviewFilename
    System.String pchVRFilename
    Returns
    Type Description
    EVRScreenshotError

    SubmitScreenshot(UInt32, EVRScreenshotType, String, String)

    public EVRScreenshotError SubmitScreenshot(uint screenshotHandle, EVRScreenshotType type, string pchSourcePreviewFilename, string pchSourceVRFilename)
    Parameters
    Type Name Description
    System.UInt32 screenshotHandle
    EVRScreenshotType type
    System.String pchSourcePreviewFilename
    System.String pchSourceVRFilename
    Returns
    Type Description
    EVRScreenshotError

    TakeStereoScreenshot(ref UInt32, String, String)

    public EVRScreenshotError TakeStereoScreenshot(ref uint pOutScreenshotHandle, string pchPreviewFilename, string pchVRFilename)
    Parameters
    Type Name Description
    System.UInt32 pOutScreenshotHandle
    System.String pchPreviewFilename
    System.String pchVRFilename
    Returns
    Type Description
    EVRScreenshotError

    UpdateScreenshotProgress(UInt32, Single)

    public EVRScreenshotError UpdateScreenshotProgress(uint screenshotHandle, float flProgress)
    Parameters
    Type Name Description
    System.UInt32 screenshotHandle
    System.Single flProgress
    Returns
    Type Description
    EVRScreenshotError

    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