Table of Contents

Class CVRScreenshots

Namespace
Valve.VR
Assembly
Stride.VirtualReality.dll
public class CVRScreenshots
Inheritance
CVRScreenshots

Methods

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

public uint GetScreenshotPropertyFilename(uint screenshotHandle, EVRScreenshotPropertyFilenames filenameType, StringBuilder pchFilename, uint cchFilename, ref EVRScreenshotError pError)

Parameters

screenshotHandle uint
filenameType EVRScreenshotPropertyFilenames
pchFilename StringBuilder
cchFilename uint
pError EVRScreenshotError

Returns

uint

GetScreenshotPropertyType(uint, ref EVRScreenshotError)

public EVRScreenshotType GetScreenshotPropertyType(uint screenshotHandle, ref EVRScreenshotError pError)

Parameters

screenshotHandle uint
pError EVRScreenshotError

Returns

EVRScreenshotType

HookScreenshot(EVRScreenshotType[])

public EVRScreenshotError HookScreenshot(EVRScreenshotType[] pSupportedTypes)

Parameters

pSupportedTypes EVRScreenshotType[]

Returns

EVRScreenshotError

RequestScreenshot(ref uint, EVRScreenshotType, string, string)

public EVRScreenshotError RequestScreenshot(ref uint pOutScreenshotHandle, EVRScreenshotType type, string pchPreviewFilename, string pchVRFilename)

Parameters

pOutScreenshotHandle uint
type EVRScreenshotType
pchPreviewFilename string
pchVRFilename string

Returns

EVRScreenshotError

SubmitScreenshot(uint, EVRScreenshotType, string, string)

public EVRScreenshotError SubmitScreenshot(uint screenshotHandle, EVRScreenshotType type, string pchSourcePreviewFilename, string pchSourceVRFilename)

Parameters

screenshotHandle uint
type EVRScreenshotType
pchSourcePreviewFilename string
pchSourceVRFilename string

Returns

EVRScreenshotError

TakeStereoScreenshot(ref uint, string, string)

public EVRScreenshotError TakeStereoScreenshot(ref uint pOutScreenshotHandle, string pchPreviewFilename, string pchVRFilename)

Parameters

pOutScreenshotHandle uint
pchPreviewFilename string
pchVRFilename string

Returns

EVRScreenshotError

UpdateScreenshotProgress(uint, float)

public EVRScreenshotError UpdateScreenshotProgress(uint screenshotHandle, float flProgress)

Parameters

screenshotHandle uint
flProgress float

Returns

EVRScreenshotError