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

    Struct UnsafeHashSet<T>.Enumerator

    An enumerator over the values of a set.

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct Enumerator : IEnumerator<T>, IDisposable, IEnumerator
    Remarks

    In an enumerator's initial state, Current is invalid. The first MoveNext() call advances the enumerator to the first value.

    Properties

    Current

    The current value.

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

    The current value.

    Methods

    Dispose()

    Does nothing.

    Declaration
    public void Dispose()

    MoveNext()

    Advances the enumerator to the next value.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    True if Current is valid to read after the call.

    Reset()

    Resets the enumerator to its initial state.

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