Struct TrackableCollection<TTrackable>.Enumerator
An Enumerator for TTrackables.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public struct TrackableCollection<TTrackable>.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 |
Properties
Current
The current value in the collection.
Declaration
public 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 |
|---|---|
| bool |
|