Struct NativeArray<T>.Enumerator | DOTS Runtime | 0.28.0-preview.40
docs.unity3d.com
    Show / Hide Table of Contents

    Struct NativeArray<T>.Enumerator

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

    Constructors

    Enumerator(ref NativeArray<T>)

    Declaration
    public Enumerator(ref NativeArray<T> array)
    Parameters
    Type Name Description
    NativeArray<T> array

    Properties

    Current

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

    Methods

    Dispose()

    Declaration
    public void Dispose()

    MoveNext()

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    Reset()

    Declaration
    public void Reset()
    In This Article
    • Constructors
      • Enumerator(ref NativeArray<T>)
    • Properties
      • Current
    • Methods
      • Dispose()
      • MoveNext()
      • Reset()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023