Remove Static Surface Geometry
Updated: Apr 15, 2026
Removes a static mesh component from the passthrough projection surface of a UOculusXRPassthroughLayerComponent. Surface-projected passthrough allows apps to specify the geometry onto which the passthrough images are projected, instead of automatic environment depth reconstruction. This function reverses a previous call to AddStaticSurfaceGeometry.
Deprecated:
UOculusXRPassthroughLayerComponent and all its surface geometry functions are deprecated as of Unreal Engine 5.6. Use
persistent passthrough instead.
- Target: The
UOculusXRPassthroughLayerComponent object. - Static Mesh Component: Reference to the
UStaticMeshComponent to remove from the projection surface. This component must have been previously added with AddStaticSurfaceGeometry.