Files
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

6.3 KiB

uid
uid
arfoundation-vs-node-reference

Visual Scripting Node Reference

This package includes a set of custom visual scripting nodes designed to help you use AR Foundation in visual scripting projects.

Fuzzy finder
AR Foundation custom nodes shown in the fuzzy finder

Get trackables

[!include] You can get all trackables of each type using the nodes below.

These nodes appear in the fuzzy finder in the AR Foundation category:

Node Input manager type Output trackable type
Get Planes ARPlaneManager ARPlane
Get Tracked Images ARTrackedImageManager ARTrackedImage
Get Tracked Objects ARTrackedObjectManager ARTrackedObject
Get Faces ARFaceManager ARFace
Get Human Bodies ARHumanBodyManager ARHumanBody
Get Point Clouds ARPointCloudManager ARPointCloud
Get Raycasts ARRaycastManager ARRaycast
Get Anchors ARAnchorManager ARAnchor
Get Environment Probes AREnvironmentProbeManager AREnvironmentProbe
Get Participants ARParticipantManager ARParticipant

On trackables changed

A trackable's life cycle has three phases: added, updated, and removed. Each frame, managers trigger an event that includes all trackables that have been added, updated, or removed in the current frame. You can subscribe to these events using the nodes below.

These nodes appear in the fuzzy finder in the Events > AR Foundation category:

Node Input manager type Trackables-changed event
On Planes Changed ARPlaneManager planesChanged
On Tracked Images Changed ARTrackedImageManager trackedImagesChanged
On Tracked Objects Changed ARTrackedObjectManager trackedObjectsChanged
On Faces Changed ARFaceManager facesChanged
On Human Bodies Changed ARHumanBodyManager humanBodiesChanged
On Point Clouds Changed ARPointCloudManager pointCloudChanged
On Anchors Changed ARAnchorManager anchorsChanged
On Environment Probes Changed AREnvironmentProbeManager environmentProbesChanged
On Participants Changed ARParticipantManager participantsChanged

Note

If you wish to receive update events from a single AR Face component, ignoring the added, updated, and removed events from other faces, you can use the On Face Updated node.

Other events

These nodes appear in the fuzzy finder in the Events > AR Foundation category:

Node Description
On Session State Changed Triggers whenever the AR session state changes.
On Camera Frame Received Triggers every frame when Unity receives a new image from the device camera.