Helper script for capture cubemap and save it into PNG or JPG file.
How it works: 1) This script can be attached to a existing game object, you can also use prefab
Assets\OVR\Prefabs\OVRCubemapCaptureProbe There are 2 ways to trigger a capture if you attached this script to a game object.
Automatic capturing: if [autoTriggerAfterLaunch] is true, a automatic capturing will be triggered after [autoTriggerDelay] seconds.
Keyboard trigger: press key [triggeredByKey], a capturing will be triggered. 2) If you like to trigger the screen capture in your code logic, just call static function [
OVRCubemapCapture.TriggerCubemapCapture] with proper input arguments.