{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Occlusion subsystem | AR Subsystems | 4.2.9
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Occlusion subsystem

    Provider packages for platforms that expose per-frame images representing depth or stencil images can implement the XROcclsionSubsystem. Incorporating these depth images into the rendering process are often the best approach for achieving realistic-looking blending of augmented and real-world content by making sure that nearby physical objects occlude virtual content that is located behind them in the shared AR space.

    The types of depth images supported are:

    • Environment Depth: distance from the device to any part of the environment in the camera field of view.
    • Human Depth: distance from the device to any part of a human recognized within the camera field of view.
    • Human Stencil: value designating, for each pixel, whether that pixel contains a recognized human.

    The subsystem interface allows for:

    • Enabling, disabling, and quality configuration for the various supported depth images.
    • Querying the availability of each type of depth image.
    • Access to the depth image data.
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)