docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021