docs.unity.cn
    Show / Hide Table of Contents

    Class ARCoreAnchorSubsystem

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

    Inheritance
    Object
    UnityEngine.XR.ARSubsystems.TrackingSubsystem<XRAnchor, XRAnchorSubsystem, XRAnchorSubsystemDescriptor, XRAnchorSubsystem.Provider>
    XRAnchorSubsystem
    ARCoreAnchorSubsystem
    Inherited Members
    XRAnchorSubsystem.GetChanges(Allocator)
    XRAnchorSubsystem.TryAddAnchor(Pose, XRAnchor)
    XRAnchorSubsystem.TryAttachAnchor(TrackableId, Pose, XRAnchor)
    XRAnchorSubsystem.TryRemoveAnchor(TrackableId)
    UnityEngine.XR.ARSubsystems.TrackingSubsystem<UnityEngine.XR.ARSubsystems.XRAnchor, UnityEngine.XR.ARSubsystems.XRAnchorSubsystem, UnityEngine.XR.ARSubsystems.XRAnchorSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRAnchorSubsystem.Provider>.GetChanges(Unity.Collections.Allocator)
    Namespace: UnityEngine.XR.ARCore
    Syntax
    [Preserve]
    public sealed class ARCoreAnchorSubsystem : XRAnchorSubsystem

    Methods

    CreateProvider()

    Creates an instance of the ARCore-specific anchor provider. This provides anchor services for ARCore.

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

    Returns a new instance of XRAnchorSubsystem.Provider specific to ARCore.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021