OpenXRFbPassthroughGeometry

Inherits: Node3D

A mesh that passthrough imagery will be rendered upon (via the XR_FB_passthrough extension).

Description

A mesh that passthrough imagery will be rendered upon (via the XR_FB_passthrough extension).

Properties

bool

enable_hole_punch

true

Mesh

mesh


Property Descriptions

bool enable_hole_punch = true

  • void set_enable_hole_punch ( bool value )

  • bool get_enable_hole_punch ( )

Enables a technique called "hole punching", which removes anything rendered by Godot that would appear behind the mesh.

This can be used to create the illusion that the passthrough exists in the same 3D space as everything rendered by Godot, allowing objects to appear to pass both behind or in front of the passthrough.


Mesh mesh

  • void set_mesh ( Mesh value )

  • Mesh get_mesh ( )

The mesh data.