Method OnAfterSetSessionRelativeData
OnAfterSetSessionRelativeData(ARTrackedImage, XRTrackedImage)
Invoked just after updating each ARTrackedImage. Used to update the referenceImage.
Declaration
protected override void OnAfterSetSessionRelativeData(ARTrackedImage image, XRTrackedImage sessionRelativeData)
Parameters
Type | Name | Description |
---|---|---|
ARTrackedImage | image | The tracked image being updated. |
XRTrackedImage | sessionRelativeData | New data associated with the tracked image. Spatial data is relative to the ARSessionOrigin. |