cancel
Showing results for 
Search instead for 
Did you mean: 

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.

2 REPLIES 2

DigitalBug
Protege

You can add  Oculus XR Passthrough Layer and remove it when you don't need passthrought

DigitalBug_0-1731316097408.png

 


https://developers.meta.com/horizon/documentation/unreal/unreal-passthrough-overview-gs

 

Didn't know this capability, very useful, thank you DigitalBug. 👍