Class ARTrackedImageManager
A manager for ARTrackedXRImageTrackingSubsystem
to recognize and track 2D images in the physical environment.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-2147483647)]
[RequireComponent(typeof(ARSessionOrigin))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARTrackedImageManager.html")]
public sealed class ARTrackedImageManager : ARTrackableManager<XRImageTrackingSubsystem, XRImageTrackingSubsystemDescriptor, XRImageTrackingSubsystem.Provider, XRTrackedImage, ARTrackedImage>
Properties
Name | Description |
---|---|
current |
Get the maximum number of moving images to track in real time that is currently in use by the subsystem. |
game |
The name to be used for the |
max |
The maximum number of moving images to track in real time.
This property is obsolete.
Use requested |
reference |
Get or set the reference image library (that is, the set of images to search for in the physical environment). |
requested |
The requested maximum number of moving images to track in real time. Support can vary between devices and providers. Check
for support at runtime with descriptor's
|
tracked |
If not null, instantiates this Prefab for each detected image. |
Methods
Name | Description |
---|---|
Create |
Creates a |
Get |
Get the Prefab that will be instantiated for each ARTracked |
On |
Invoked just after updating each ARTracked |
On |
Sets the image library on the subsystem before Start() is called on the |
On |
Invokes the tracked |
Events
Name | Description |
---|---|
tracked |
Invoked once per frame with information about the ARTracked |