Develop
Develop
Select your platform

Passthrough Window Tutorial

Updated: Sep 4, 2024
In this tutorial, we’ve modified the Basic Passthrough Tutorial to implement a passthrough window.

Before You Begin

Follow the Basic Passthrough Tutorial. Once you complete that, you will be ready to do the Passthrough Window tutorial.

1. Create a Solid Plane

  1. Open the Basic Passthrough Tutorial project
  2. In the Place Actors tab, navigate to the Shape tab and drag a Plane into the scene. Name it SolidPlane.
  3. Set Transform > Location to (600,0,100).
  4. Set Transform > Rotation to (0, 90, 0).
  5. Create a new material named SolidMaterial and assign it to SolidPlane.

2. Create a Passthrough Plane

  1. In the Place Actors tab, navigate to the Shape tab and drag another Plane into the scene. Name it PassthroughPlane.
  2. Set Transform > Location to (590,0,100).
  3. Set Transform > Scale to (0.7,0.7,0.7).
  4. Set Transform > Rotation to (0, 90, 0).

3. Assign Passthrough Material

  1. Directly assign built-in material PokeAHoleMaterial to PassthroughPlane.
Poke a hole material

4. Save, Build, and Run the Project

  1. Connect Meta Quest headset and run the project.
  2. Put on the headset to test the passthrough window. You should see a small window of passthrough surrounded by a larger opaque field. Passthrough Window tutorial output
Did you find this page helpful?