On Tracked Images Changed
Triggers when AR Tracked Images have changed. AR Tracked Images can be added, updated, and/or removed every frame if there is an enabled AR Tracked Image Manager in the scene.
On Tracked Images Changed node, shown with Get Variable
Input Data Ports
Port | Data type | Description |
---|---|---|
Target | GameObject | Target GameObject should have an enabled ARTrackedImageManager component. If you do not connect this port, this node searches for an enabled AR Tracked Image Manager component in the scene instead, and throws an exception if none is found. |
Tip
If your Script Machine Source is set to Graph, your graph asset cannot directly reference GameObjects in the scene. Use a Get Variable node to reference instantiated GameObjects.
Output Data Ports
Port | Data type | Description |
---|---|---|
Added | ReadOnlyList of ARTrackedImage | AR Tracked Images that have been added. |
Updated | ReadOnlyList of ARTrackedImage | AR Tracked Images that have been updated. |
Removed | ReadOnlyList of KeyValuePair<TrackableId, ARTrackedImage> |
AR Tracked Images that have been removed. |