docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>

    Outputs all trackables managed by the input ARTrackableManager using its trackables property.

    Inheritance
    object
    GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable>
    GetAnchorsUnit
    GetEnvironmentProbesUnit
    GetFacesUnit
    GetHumanBodiesUnit
    GetParticipantsUnit
    GetPlanesUnit
    GetPointCloudsUnit
    GetRaycastsUnit
    GetTrackedImagesUnit
    GetTrackedObjectsUnit
    Namespace: UnityEngine.XR.ARFoundation.VisualScripting
    Assembly: Unity.XR.ARFoundation.VisualScripting.dll
    Syntax
    public abstract class GetTrackablesUnit<TManager, TSubsystem, TSubsystemDescriptor, TProvider, TSessionRelativeData, TTrackable> : Unit 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>
    Type Parameters
    Name Description
    TManager

    The AR Trackable Manager type.

    TSubsystem

    The tracking subsystem type.

    TSubsystemDescriptor

    The subsystem descriptor type.

    TProvider

    The subsystem provider type.

    TSessionRelativeData

    The session relative data type.

    TTrackable

    The AR Trackable type.

    Remarks

    TrackableCollection<TTrackable> is not a serializable type, therefore we need a custom unit to copy the contents into a serializable List to use this data in a visual scripting context.

    Properties

    flowIn

    Flow input.

    Declaration
    public ControlInput flowIn { get; }
    Property Value
    Type Description
    ControlInput

    flowOut

    Flow output.

    Declaration
    public ControlOutput flowOut { get; }
    Property Value
    Type Description
    ControlOutput

    managerIn

    AR Trackable Manager input.

    Declaration
    public ValueInput managerIn { get; }
    Property Value
    Type Description
    ValueInput

    trackablesIn

    Declaration
    public ValueInput trackablesIn { get; }
    Property Value
    Type Description
    ValueInput

    trackablesOut

    Outputs a List<T>.

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

    Methods

    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)