Class CVRScreenshots
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Headers
Assembly: cs.temp.dll.dll
Syntax
public class CVRScreenshots
Methods
GetScreenshotPropertyFilename(UInt32, EVRScreenshotPropertyFilenames, StringBuilder, UInt32, ref EVRScreenshotError)
Declaration
public uint GetScreenshotPropertyFilename(uint screenshotHandle, EVRScreenshotPropertyFilenames filenameType, StringBuilder pchFilename, uint cchFilename, ref EVRScreenshotError pError)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | screenshotHandle | |
EVRScreenshotPropertyFilenames | filenameType | |
StringBuilder | pchFilename | |
UInt32 | cchFilename | |
EVRScreenshotError | pError |
Returns
Type | Description |
---|---|
UInt32 |
GetScreenshotPropertyType(UInt32, ref EVRScreenshotError)
Declaration
public EVRScreenshotType GetScreenshotPropertyType(uint screenshotHandle, ref EVRScreenshotError pError)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | screenshotHandle | |
EVRScreenshotError | pError |
Returns
Type | Description |
---|---|
EVRScreenshotType |
HookScreenshot(EVRScreenshotType[])
Declaration
public EVRScreenshotError HookScreenshot(EVRScreenshotType[] pSupportedTypes)
Parameters
Type | Name | Description |
---|---|---|
EVRScreenshotType[] | pSupportedTypes |
Returns
Type | Description |
---|---|
EVRScreenshotError |
RequestScreenshot(ref UInt32, EVRScreenshotType, String, String)
Declaration
public EVRScreenshotError RequestScreenshot(ref uint pOutScreenshotHandle, EVRScreenshotType type, string pchPreviewFilename, string pchVRFilename)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | pOutScreenshotHandle | |
EVRScreenshotType | type | |
String | pchPreviewFilename | |
String | pchVRFilename |
Returns
Type | Description |
---|---|
EVRScreenshotError |
SubmitScreenshot(UInt32, EVRScreenshotType, String, String)
Declaration
public EVRScreenshotError SubmitScreenshot(uint screenshotHandle, EVRScreenshotType type, string pchSourcePreviewFilename, string pchSourceVRFilename)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | screenshotHandle | |
EVRScreenshotType | type | |
String | pchSourcePreviewFilename | |
String | pchSourceVRFilename |
Returns
Type | Description |
---|---|
EVRScreenshotError |
TakeStereoScreenshot(ref UInt32, String, String)
Declaration
public EVRScreenshotError TakeStereoScreenshot(ref uint pOutScreenshotHandle, string pchPreviewFilename, string pchVRFilename)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | pOutScreenshotHandle | |
String | pchPreviewFilename | |
String | pchVRFilename |
Returns
Type | Description |
---|---|
EVRScreenshotError |
UpdateScreenshotProgress(UInt32, Single)
Declaration
public EVRScreenshotError UpdateScreenshotProgress(uint screenshotHandle, float flProgress)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | screenshotHandle | |
Single | flProgress |
Returns
Type | Description |
---|---|
EVRScreenshotError |