Forum Discussion
superchimpisknight
1 year agoProtege
Can Passthrough be enabled at runtime ?
Hi!..
I'm working on a dual game application, some maps are Mixed and other Virtual Reality.. i need to switch the "Enable Passthrough" flag to true or false depending the map that will be loaded.. this will help me to avoid compiling 2 apks for each type between MR and VR...
Is there a way to runtime C++ or BP switching the parameter ? i could not find any related on console commands...
Thanks in advance.
3 Replies
Replies have been turned off for this discussion
- DigitalBugProtege
You can add Oculus XR Passthrough Layer and remove it when you don't need passthrought
https://developers.meta.com/horizon/documentation/unreal/unreal-passthrough-overview-gs- BiggsStart Member
Didn't know this capability, very useful, thank you DigitalBug. 👍
- dario.macielStart Member
you can just set the trasnparency tab of the passthrough layer to 0 or 1, disabling or enabling the passthrough
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 4 months ago
- 4 years ago