docs.unity3d.com
    Show / Hide Table of Contents

    Class ARKitRaycastSubsystem

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

    Inheritance
    Object
    XRSubsystem<XRRaycastSubsystemDescriptor>
    TrackingSubsystem<XRRaycast, XRRaycastSubsystemDescriptor>
    XRRaycastSubsystem
    ARKitRaycastSubsystem
    Inherited Members
    XRRaycastSubsystem.OnStart()
    XRRaycastSubsystem.OnStop()
    XRRaycastSubsystem.OnDestroyed()
    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)
    XRRaycastSubsystem.provider
    TrackingSubsystem<XRRaycast, XRRaycastSubsystemDescriptor>.GetChanges(Allocator)
    XRSubsystem<XRRaycastSubsystemDescriptor>.OnDestroy()
    XRSubsystem<XRRaycastSubsystemDescriptor>.Start()
    XRSubsystem<XRRaycastSubsystemDescriptor>.Stop()
    XRSubsystem<XRRaycastSubsystemDescriptor>.running
    Namespace: UnityEngine.XR.ARKit
    Syntax
    [Preserve]
    public sealed class ARKitRaycastSubsystem : XRRaycastSubsystem

    Methods

    CreateProvider()

    Creates the ARKit-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 ARKit.

    Overrides
    XRRaycastSubsystem.CreateProvider()
    Back to top
    Terms of use
    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