bool | Enable the automatic screenshot trigger, which will capture a cubemap after autoTriggerDelay (seconds) |
float | autoTriggerDelay[Get] |
KeyCode | triggeredByKey[Get] Trigger cubemap screenshot if user pressed key triggeredByKey. |
string | pathName[Get] The complete file path for saving the cubemap screenshot, including the filename and extension if pathName is blank, screenshots will be saved into USERPROFILE%\Documents\OVR_ScreenShot360. |
int | cubemapSize[Get] The cube face resolution. |
static void | Generate unity cubemap at specific location and save into JPG/PNG. |
static void | |
static bool | Save unity cubemap into NPOT 6x1 cubemap/texture atlas in the following format PX NX PY NY PZ NZ. |
bool OVRCubemapCapture.autoTriggerAfterLaunch |
---|
Enable the automatic screenshot trigger, which will capture a cubemap after autoTriggerDelay (seconds) |
float OVRCubemapCapture.autoTriggerDelay |
---|
No description available.
|
KeyCode OVRCubemapCapture.triggeredByKey |
---|
Trigger cubemap screenshot if user pressed key triggeredByKey. |
string OVRCubemapCapture.pathName |
---|
The complete file path for saving the cubemap screenshot, including the filename and extension if pathName is blank, screenshots will be saved into USERPROFILE%\Documents\OVR_ScreenShot360. |
int OVRCubemapCapture.cubemapSize |
---|
The cube face resolution. |
static void OVRCubemapCapture.TriggerCubemapCapture ( Vector3 capturePos, int cubemapSize, string pathName ) |
---|
Generate unity cubemap at specific location and save into JPG/PNG. Default save folder: your app's persistentDataPath Default file name: using current time OVR_hh_mm_ss.png Note1: this will take a few seconds to finish Note2: if you only want to specify path not filename, please end [pathName] with "/" |
static void OVRCubemapCapture.RenderIntoCubemap ( Camera ownerCamera, Cubemap outCubemap ) |
---|
No description available.
|
static bool OVRCubemapCapture.SaveCubemapCapture ( Cubemap cubemap, string pathName ) |
---|
Save unity cubemap into NPOT 6x1 cubemap/texture atlas in the following format PX NX PY NY PZ NZ. Supported format: PNG/JPG Default file name: using current time OVR_hh_mm_ss.png |