Get Tracked Objects
Save all AR Tracked Objects to the input List.
Get Tracked Objects node, shown with Get Variable
Input Data Ports
Port | Data type | Description |
---|---|---|
Manager | ARTrackedObjectManager | An active and enabled ARTrackedObjectManager . If you do not connect this port, this node searches for an enabled AR Tracked Object Manager component in the scene instead, and throws an exception if none is found. |
List | List of ARTrackedObject | Where to save the AR Tracked Objects. This node clears the list, then adds the tracked objects. If you do not connect this port, this node allocates a new list instead. |
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 |
---|---|---|
List | List of ARTrackedObject | The same List you connected to the Input port, now containing all AR Tracked Objects. |