Struct TrackableCollection<TTrackable>.Enumerator
An Enumerator
for TTrackable
s.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Syntax
public struct Enumerator
Constructors
Enumerator(Dictionary<TrackableId, TTrackable>)
Constructs an Enumerator
for use with TTrackable
s.
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 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 |
|