On Human Bodies Changed
Triggers when AR Human Bodies have changed. AR Human Bodies can be added, updated, and/or removed every frame if there is an enabled AR Human Body Manager in the scene.
On Human Bodies Changed node, shown with Get Variable
Input Data Ports
Port | Data type | Description |
---|---|---|
Target | GameObject | Target GameObject should have an enabled ARHumanBodyManager component. If you do not connect this port, this node searches for an enabled AR Human Body 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 ARHumanBody | AR Human Bodies that have been added. |
Updated | ReadOnlyList of ARHumanBody | AR Human Bodies that have been updated. |
Removed | ReadOnlyList of KeyValuePair<TrackableId, ARHumanBody> |
AR Human Bodies that have been removed. |