1.4 KiB
1.4 KiB
uid
| uid |
|---|
| arfoundation-vs-node-on-faces-changed |
On Faces Changed
Triggers when AR Faces have changed. AR Faces can be added, updated, and/or removed every frame if there is an enabled AR Face Manager in the scene.

On Faces Changed node, shown with Get Variable
Input Data Ports
| Port | Data type | Description |
|---|---|---|
| Target | GameObject | Target GameObject should have an enabled ARFaceManager component. If you do not connect this port, this node searches for an enabled AR Face Manager component in the scene instead, and throws an exception if none is found. |
Output Data Ports
| Port | Data type | Description |
|---|---|---|
| Added | ReadOnlyList of ARFace | AR Faces that have been added. |
| Updated | ReadOnlyList of ARFace | AR Faces that have been updated. |
| Removed | ReadOnlyList of KeyValuePair<TrackableId, ARFace> |
AR Faces that have been removed. |