docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetTrackable

    TryGetTrackable(TrackableId, out TTrackable)

    Attempts to retrieve a trackable by TrackableId.

    Declaration
    public bool TryGetTrackable(TrackableId trackableId, out TTrackable trackable)
    Parameters
    Type Name Description
    TrackableId trackableId

    The trackable id associated with the trackable to retrieve.

    TTrackable trackable

    Set to the trackable with trackableId, if present in the collection.

    Returns
    Type Description
    bool

    true if the trackable with trackableId exists. false otherwise.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023