docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Raycasts

    This page is a supplement to the AR Foundation Raycasts manual. The following sections only contain information about APIs where Meta Quest exhibits unique platform-specific behavior.

    Tip

    When developing an AR app, refer to both the AR Foundation documentation as well as the required packages for each platform you support.

    Raycast architecture

    This package defines an implementation of AR Foundation's XRRaycastSubsystem.Provider, but the implementation does not use any OpenXR functionality. In fact, the raycast provider in this package is completely empty. By including an empty raycast provider, this package enables a fallback Unity-world-space raycast implementation in AR Foundation's ARRaycastManager.

    If your app uses AR raycasts, you should use the ARRaycastManager APIs. Do not access MetaOpenXRRaycastSubsystem directly.

    In This Article
    Back to top
    Copyright © 2024 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)