Skip to main content
Participant
November 10, 2024

Can Passthrough be enabled at runtime ?

  • November 10, 2024
  • 3 replies
  • 1052 views

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.

This topic has been closed for replies.

3 replies

Inspiring
November 11, 2024

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

 

Biggs
Participant
November 25, 2024

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

Honored Contributor
February 23, 2025

you can just set the trasnparency tab of the passthrough layer to 0 or 1, disabling or enabling the passthrough