Class ARTrackedImage
Represents a tracked image in the physical environment.
Inheritance
ARTrackedImage
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.ARFoundation
Assembly: solution.dll
Syntax
[DisallowMultipleComponent]
[DefaultExecutionOrder(-2147483646)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARTrackedImage.html")]
public class ARTrackedImage : ARTrackable<XRTrackedImage, ARTrackedImage>
Properties
Name | Description |
---|---|
extents | The 2D extents of the image. This is half the size. |
nativePtr | Get a native pointer associated with this tracked image. |
referenceImage | The reference image which was used to detect this image in the environment. |
size | The 2D size of the image. This is the dimensions of the image. |