Class XRObjectTrackingSubsystem.IProvider
The API concrete class must implement for an XRObjectTrackingSubsystem.
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> |