docs.unity3d.com
    Show / Hide Table of Contents

    Class ARCoreRaycastSubsystem

    ARCore implementation of the XRRaycastSubsystem. Do not create this directly. Use the SubsystemManager instead.

    Inheritance
    Object
    UnityEngine.XR.ARSubsystems.TrackingSubsystem<XRRaycast, XRRaycastSubsystem, XRRaycastSubsystemDescriptor, XRRaycastSubsystem.Provider>
    XRRaycastSubsystem
    ARCoreRaycastSubsystem
    Inherited Members
    XRRaycastSubsystem.GetChanges(Allocator)
    XRRaycastSubsystem.TryAddRaycast(Vector2, Single, XRRaycast)
    XRRaycastSubsystem.TryAddRaycast(Ray, Single, XRRaycast)
    XRRaycastSubsystem.RemoveRaycast(TrackableId)
    XRRaycastSubsystem.Raycast(Ray, TrackableType, Allocator)
    XRRaycastSubsystem.Raycast(Vector2, TrackableType, Allocator)
    UnityEngine.XR.ARSubsystems.TrackingSubsystem<UnityEngine.XR.ARSubsystems.XRRaycast, UnityEngine.XR.ARSubsystems.XRRaycastSubsystem, UnityEngine.XR.ARSubsystems.XRRaycastSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRRaycastSubsystem.Provider>.GetChanges(Unity.Collections.Allocator)
    Namespace: UnityEngine.XR.ARCore
    Syntax
    [Preserve]
    public sealed class ARCoreRaycastSubsystem : XRRaycastSubsystem

    Methods

    CreateProvider()

    Creates the ARCore-specific implementation which will service the XRRaycastSubsystem.

    Declaration
    protected override XRRaycastSubsystem.Provider CreateProvider()
    Returns
    Type Description
    XRRaycastSubsystem.Provider

    A new instance of the Provider specific to ARCore.

    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