API reference
API reference
Select your platform
No SDKs available
No versions available

UOculusXRStereoLayerShapeReconstructed Class

Represents a passthrough layer which uses automatic environment depth reconstruction to render itself.
The Passthrough API enables you to show the user's real environment in your mixed reality experiences. It offers several options to customize the appearance of passthrough, such as adjusting opacity, highlight salient edges in the image, or control the color reproduction. For passthrough to be visible, it must be enabled in the Meta XR Plugin via the UOculusXRHMDRuntimeSettings::bInsightPassthroughEnabled property.
Reconstructed passthrough used via this class vanishes when the current component is destroyed. Consider using Persistent Passthrough Layer instead, which remains active throughout the application's lifetime, including across level transitions. See https://developers.meta.com/horizon/documentation/unreal/unreal-persistent-passthrough/ for more details.

Member Functions

virtual void ApplyShape
( IStereoLayers::FLayerDesc & LayerDesc )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon