docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    A trackable is a special component that represents anything that can be detected and tracked in the real world. Planes, point clouds, anchors, environment probes, faces, body, images, and 3D objects are all examples of objects with corresponding trackable components. 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.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)