Class XRObjectTrackingSubsystem.IProvider | AR Subsystems | 2.2.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRObjectTrackingSubsystem.IProvider

    The API concrete class must implement for an XRObjectTrackingSubsystem.

    Inheritance
    Object
    XRObjectTrackingSubsystem.IProvider
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    protected abstract class IProvider

    Properties

    library

    The library containing the reference objects for which to scan. If this is not null, the provider should begin scanning for the objects in the library. If null, the provider should stop scanning for objects.

    Declaration
    public virtual XRReferenceObjectLibrary library { set; }
    Property Value
    Type Description
    XRReferenceObjectLibrary

    Methods

    Destroy()

    Invoked just before this subsystem is destroyed.

    Declaration
    public virtual void Destroy()

    GetChanges(XRTrackedObject, Allocator)

    Declaration
    public abstract TrackableChanges<XRTrackedObject> GetChanges(XRTrackedObject template, Allocator allocator)
    Parameters
    Type Name Description
    XRTrackedObject template
    Allocator allocator
    Returns
    Type Description
    TrackableChanges<XRTrackedObject>
    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