docs.unity3d.com
    目次を表示する/隠す

    Struct TrackableCollection<TTrackable>.Enumerator

    An Enumerator for TTrackables.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public struct Enumerator

    Constructors

    Enumerator(Dictionary<TrackableId, TTrackable>)

    Constructs an Enumerator for use with TTrackables.

    Declaration
    public Enumerator(Dictionary<TrackableId, TTrackable> trackables)
    Parameters
    Type Name Description
    Dictionary<TrackableId, TTrackable> trackables

    A Dictionary of TTrackables.

    Properties

    Current

    The current value in the collection.

    Declaration
    public readonly TTrackable Current { get; }
    Property Value
    Type Description
    TTrackable

    Methods

    Dispose()

    Releases all resources used by this Enumerator.

    Declaration
    public void Dispose()

    MoveNext()

    Moves to the next trackable in the collection.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    true if the next trackable is valid, or false if it is the end of the collection.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)