Class XRImageTrackingSubsystem
A subsystem for detecting and tracking a preconfigured set of images in the environment.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XRImageTrackingSubsystem : TrackingSubsystem<XRTrackedImage, XRImageTrackingSubsystem, XRImageTrackingSubsystemDescriptor, XRImageTrackingSubsystem.Provider>, ISubsystem
Constructors
Name | Description |
---|---|
XRImageTrackingSubsystem() | Constructs a subsystem. Do not invoke directly; call |
Properties
Name | Description |
---|---|
currentMaxNumberOfMovingImages | The current maximum number of moving images to track. This can be different from requestedMaxNumberOfMovingImages. |
imageLibrary | Get or set the reference image library. This is the set of images to look for in the environment. |
requestedMaxNumberOfMovingImages | The requested maximum number of moving images to track. |
Methods
Name | Description |
---|---|
CreateRuntimeLibrary(XRReferenceImageLibrary) | Creates a RuntimeReferenceImageLibrary from an existing XRReferenceImageLibrary,
or an empty library if |
GetChanges(Allocator) | Retrieve the changes in the state of tracked images (added, updated, and removed) since the last call to |
OnStart() | Starts the subsystem, that is, starts detecting images in the scene. imageLibrary must not be null. |
OnStop() | Stops the subsystem, that is, stops detecting and tracking images. |