docs.unity3d.com

    Occlusion subsystem

    Provider packages for platforms that expose per-frame images representing depth or stencil images may 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:

    • 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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023