기술 자료

Unity Engine

Unity Engine

NativeParallelHashMap<TKey, TValue>.Enumerator

An enumerator over the key-value pairs of a hash map.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct NativeParallelHashMap<TKey, TValue>.Enumerator : IEnumerator<KeyValue<TKey, TValue>>, IEnumerator, IDisposable

Remarks

In an enumerator's initial state, NativeParallelHashMap<TKey, TValue>.Enumerator.Current is not valid to read. From this state, the first NativeParallelHashMap<TKey, TValue>.Enumerator.MoveNext call advances the enumerator to the first key-value pair.

Properties

Property

Description

CurrentThe current key-value pair.

Methods

Method

Description

DisposeDoes nothing.
MoveNextAdvances the enumerator to the next key-value pair.
ResetResets the enumerator to its initial state.