docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    XR raycast subsystem

    Raycasts allow you to perform hit testing against AR-specific features. They use the same concept as the Physics.Raycast, but raycast targets don't require a presence in the physics world.

    There are two types of raycasts:

    • Screen point
    • Arbitrary ray

    Some implementations only support one or the other. You can check for support with XRRaycastSubsystemDescriptor.

    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)