Develop
Develop
Select your platform

Remove Static Surface Geometry

Updated: Apr 15, 2026

Overview

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.
For more information, see Surface projected passthrough.
Deprecated: UOculusXRPassthroughLayerComponent and all its surface geometry functions are deprecated as of Unreal Engine 5.6. Use persistent passthrough instead.

Blueprint

Remove static passthrough layer component

Arguments

  • 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.

Output

  • None

See also