docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TrackablesChangedEventUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener>

    Uses a TListener to listen for a trackables-changed event on the visual scripting event bus and assign the TEventArgs to a newly triggered Flow.

    Inheritance
    object
    TrackablesChangedEventUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener>
    AnchorsChangedEventUnit
    EnvironmentProbesChangedEventUnit
    FacesChangedEventUnit
    HumanBodiesChangedEventUnit
    ParticipantsChangedEventUnit
    PlanesChangedEventUnit
    PointCloudsChangedEventUnit
    TrackedImagesChangedEventUnit
    TrackedObjectsChangedEventUnit
    Namespace: UnityEngine.XR.ARFoundation.VisualScripting
    Assembly: Unity.XR.ARFoundation.VisualScripting.dll
    Syntax
    [Obsolete("TrackablesChangedEventUnit has been deprecated in AR Foundation version 6.0.", false)]
    public abstract class TrackablesChangedEventUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable, TEventArgs, TListener> : GameObjectEventUnit<TEventArgs> where TManager : ARTrackableManager<TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable> where TSubsystem : TrackingSubsystem<TSessionRelativeData, TSubsystem, TSubsystemDescriptor, TProvider>, new() where TSubsystemDescriptor : SubsystemDescriptorWithProvider<TSubsystem, TProvider> where TProvider : SubsystemProvider<TSubsystem> where TSessionRelativeData : struct, ITrackable where TTrackable : ARTrackable<TSessionRelativeData, TTrackable> where TListener : MessageListener
    Type Parameters
    Name Description
    TManager

    The manager type.

    TSubsystem

    The subsystem type.

    TSubsystemDescriptor

    The subsystem descriptor type.

    TProvider

    The subsystem provider type.

    TSessionRelativeData

    The session-relative data type.

    TTrackable

    The type of trackable for which we are listening.

    TEventArgs

    The trackables-changed event arguments type.

    TListener

    The MessageListener type.

    Properties

    MessageListenerType

    The MessageListener type.

    Declaration
    public override Type MessageListenerType { get; }
    Property Value
    Type Description
    Type

    added

    Trackables added since the last frame.

    Declaration
    public ValueOutput added { get; }
    Property Value
    Type Description
    ValueOutput

    removed

    Trackables removed since the last frame.

    Declaration
    public ValueOutput removed { get; }
    Property Value
    Type Description
    ValueOutput

    updated

    Trackables updated since the last frame.

    Declaration
    public ValueOutput updated { get; }
    Property Value
    Type Description
    ValueOutput

    Methods

    Definition()

    Unit definition.

    Declaration
    protected override void Definition()
    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)