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

PassthroughProjectionSurfaceBuildingBlock Class

Extends MonoBehaviour
Projects passthrough over a surface when using the Surface Projected Passthrough Building Block.
The surface geometries provided by the app should match real-world surfaces as closely as possible. If they differ significantly, users will receive conflicting depth cues and objects may appear too small or large.
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 OVRManager via the OVRManager.isInsightPassthroughEnabled field.
Find out more about passthrough and its features or follow along with these tutorials.

Fields

A required MeshFilter field that will be used to project Passthrough onto.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon